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

@ -1,8 +1,9 @@
'use strict';
angular.module('copayApp.controllers').controller('servicesController', function($scope, $ionicScrollDelegate, $timeout) {
angular.module('copayApp.controllers').controller('servicesController', function($scope, $ionicScrollDelegate, $timeout, servicesService) {
$scope.hide = false;
$scope.services = servicesService.get();
$scope.toggle = function() {
$scope.hide = !$scope.hide;