added password support to UI/Controllers

This commit is contained in:
Mario Colque 2014-05-01 09:59:43 -03:00
commit 9d27a0b85d
4 changed files with 24 additions and 13 deletions

View file

@ -12,10 +12,11 @@ angular.module('copay.signin').controller('SigninController',
$location.path('setup');
};
$scope.open = function(walletId, opts) {
$scope.open = function(walletId) {
$scope.loading = true;
var w = walletFactory.open(walletId, opts);
controllerUtils.startNetwork(w);
$rootScope.openedWalletId = walletId;
$location.path('password');
};
$scope.join = function(secret, nickname ) {