added PasswordController
This commit is contained in:
parent
777ef70d4d
commit
bbf9a9c4d5
4 changed files with 55 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ var copayApp = window.copayApp = angular.module('copay',[
|
|||
'copay.setup',
|
||||
'copay.directives',
|
||||
'copay.video',
|
||||
'copay.import'
|
||||
'copay.import',
|
||||
'copay.password',
|
||||
]);
|
||||
|
||||
angular.module('copay.header', []);
|
||||
|
|
@ -37,4 +38,5 @@ angular.module('copay.socket', []);
|
|||
angular.module('copay.directives', []);
|
||||
angular.module('copay.video', []);
|
||||
angular.module('copay.import', []);
|
||||
angular.module('copay.password', []);
|
||||
|
||||
|
|
|
|||
11
js/controllers/password.js
Normal file
11
js/controllers/password.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copay.password').controller('PasswordController',
|
||||
function($scope, $rootScope) {
|
||||
$scope.title = 'Password';
|
||||
|
||||
$scope.getPassphrase = function() {
|
||||
console.log('######### Password', $scope.password);
|
||||
};
|
||||
|
||||
});
|
||||
|
|
@ -22,6 +22,10 @@ angular
|
|||
templateUrl: 'setup.html',
|
||||
validate: false
|
||||
})
|
||||
.when('/password', {
|
||||
templateUrl: 'password.html',
|
||||
validate: false
|
||||
})
|
||||
.when('/addresses', {
|
||||
templateUrl: 'addresses.html',
|
||||
validate: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue