modev wallet validation from all controllers to router

This commit is contained in:
Mario Colque 2014-04-18 15:22:02 -03:00
commit e5a4e3c25c
9 changed files with 17 additions and 37 deletions

View file

@ -1,12 +1,12 @@
'use strict';
angular.module('copay.signin').controller('SigninController',
function($scope, $rootScope, $location, walletFactory, controllerUtils) {
// var peerData = Storage.get($rootScope.walletId, 'peerData');
// $rootScope.peerId = peerData ? peerData.peerId : null;
//
$scope.loading = false;
$scope.walletIds = walletFactory.getWalletIds();