Replace $root.go directive for href ui-sref
This commit is contained in:
parent
5f7b68d32f
commit
2f8c42ca25
14 changed files with 120 additions and 110 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue