better signin page

This commit is contained in:
Matias Alejo Garcia 2014-04-17 12:37:10 -03:00
commit e28be27bf3
3 changed files with 36 additions and 25 deletions

View file

@ -9,11 +9,8 @@ angular.module('copay.signin').controller('SigninController',
// $rootScope.peerId = peerData ? peerData.peerId : null;
$scope.loading = false;
$scope.selectedWalletId = false;
$scope.listWalletIds = function() {
return walletFactory.getWalletIds();
};
$scope.walletIds = walletFactory.getWalletIds();
$scope.selectedWalletId = $scope.walletIds?$scope.walletIds.shift():null;
$scope.create = function() {
$location.path('setup');