Added spinner to all buttons

This commit is contained in:
Gustavo Cortez 2014-04-24 22:43:19 -03:00
commit 872cfaba68
8 changed files with 52 additions and 18 deletions

View file

@ -16,12 +16,14 @@ angular.module('copay.addresses').controller('AddressesController',
$scope.isMain = isMain;
$scope.addrs = Object.keys(balanceByAddr);
$scope.selectedAddr = $scope.addrs[0];
$scope.loading = false;
$rootScope.$digest();
}
});
};
$scope.newAddr = function() {
$scope.loading = true;
w.generateAddress();
_updateBalance();
};