Fix new format
This commit is contained in:
parent
bc66cc1b65
commit
8e1ffbb008
1 changed files with 9 additions and 7 deletions
|
|
@ -6,10 +6,16 @@
|
||||||
.module('bitcoincom.services')
|
.module('bitcoincom.services')
|
||||||
.factory('buyBitcoinComService', buyBitcoinComService);
|
.factory('buyBitcoinComService', buyBitcoinComService);
|
||||||
|
|
||||||
function buyBitcoinComService($http, $log, $window, $filter, platformInfo, storageService, buyAndSellService, gettextCatalog) {
|
function buyBitcoinComService(buyAndSellService, gettextCatalog) {
|
||||||
var service = {};
|
var service = {
|
||||||
|
|
||||||
service.register = function() {
|
// Functions
|
||||||
|
register: register
|
||||||
|
};
|
||||||
|
|
||||||
|
return service;
|
||||||
|
|
||||||
|
function register() {
|
||||||
buyAndSellService.register({
|
buyAndSellService.register({
|
||||||
name: 'buydotbitcoindotcom',
|
name: 'buydotbitcoindotcom',
|
||||||
logo: 'img/bitcoin-com-logo-grey.png',
|
logo: 'img/bitcoin-com-logo-grey.png',
|
||||||
|
|
@ -17,9 +23,5 @@
|
||||||
sref: 'tabs.buyandsell.bitcoindotcom'
|
sref: 'tabs.buyandsell.bitcoindotcom'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
service.register();
|
|
||||||
|
|
||||||
return service;
|
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue