refactor profileService

This commit is contained in:
Matias Alejo Garcia 2016-06-06 12:21:15 -03:00
commit 4865ea8ad8
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
9 changed files with 241 additions and 204 deletions

View file

@ -169,7 +169,7 @@ angular.module('copayApp.controllers').controller('createController',
self.loading = true;
$timeout(function() {
profileService.createWallet(opts, function(err, walletId) {
profileService.createWallet(opts, function(err) {
self.loading = false;
if (err) {
$log.warn(err);