Replace $root.go directive for href ui-sref

This commit is contained in:
Javier 2016-06-13 14:31:42 -03:00
commit 2f8c42ca25
14 changed files with 120 additions and 110 deletions

View file

@ -43,6 +43,14 @@ angular.module('copayApp.controllers').controller('backupController',
return false;
};
self.backTo = function(state) {
console.log(state);
if (state == 'walletHome')
go.walletHome();
else
go.preferences();
};
self.goToStep = function(n) {
if (n == 1)
init();