added servicesService and moved shapeshift into there
This commit is contained in:
parent
38e6a87cef
commit
43556b84c4
6 changed files with 72 additions and 8 deletions
19
src/js/services/shapeshiftService.js
Normal file
19
src/js/services/shapeshiftService.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
'use strict';
|
||||
angular.module('copayApp.services').factory('shapeshiftService', function($http, $log, lodash, moment, storageService, configService, platformInfo, servicesService) {
|
||||
var root = {};
|
||||
var credentials = {};
|
||||
|
||||
var servicesItem = {
|
||||
name: 'shapeshift',
|
||||
title: 'Shapeshift',
|
||||
icon: 'icon-shapeshift',
|
||||
sref: 'tabs.shapeshift',
|
||||
};
|
||||
|
||||
var register = function() {
|
||||
servicesService.register(servicesItem);
|
||||
};
|
||||
|
||||
register();
|
||||
return root;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue