added servicesService and moved shapeshift into there

This commit is contained in:
Kadir Sekha 2018-02-14 16:35:57 +00:00
commit 43556b84c4
6 changed files with 72 additions and 8 deletions

View 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;
});