refactory of the socket service

This commit is contained in:
Mario Colque 2014-04-18 19:08:01 -03:00
commit 0455d5ee69
12 changed files with 94 additions and 137 deletions

View file

@ -1,9 +1,7 @@
'use strict';
angular.module('copay.backup').controller('BackupController',
function($scope, $rootScope, $location, $window, $timeout, Socket, controllerUtils) {
controllerUtils.handleTransactionByAddress($scope);
function($scope, $rootScope, $location, $window, $timeout) {
$scope.title = 'Backup';
var filename = $rootScope.wallet.id + '.json.aes';