onboarding restore feature

This commit is contained in:
Gabriel Bazán 2016-08-30 11:33:32 -03:00
commit 7584d2b145
8 changed files with 30 additions and 13 deletions

View file

@ -0,0 +1,10 @@
'use strict';
angular.module('copayApp.controllers').controller('backController', function($scope, $state, $stateParams) {
$scope.importGoBack = function() {
if ($stateParams.fromOnboarding) $state.go('onboarding.welcome');
else $state.go('add.main');
};
});