add routes and views
This commit is contained in:
parent
b18dcc4734
commit
7a63bfcc72
6 changed files with 109 additions and 1 deletions
6
src/js/controllers/addresses.js
Normal file
6
src/js/controllers/addresses.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('addressesController', function($scope, $stateParams, profileService, walletService) {
|
||||
$scope.wallet = profileService.getWallet($stateParams.walletId);
|
||||
|
||||
});
|
||||
|
|
@ -48,6 +48,12 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
}, 100);
|
||||
};
|
||||
|
||||
$scope.showAddresses = function() {
|
||||
$state.transitionTo('tabs.receive.addresses', {
|
||||
walletId: $scope.wallet.credentials.walletId
|
||||
});
|
||||
};
|
||||
|
||||
$scope.openBackupNeededModal = function() {
|
||||
$ionicModal.fromTemplateUrl('views/includes/backupNeededPopup.html', {
|
||||
scope: $scope,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue