rename controllers and views
This commit is contained in:
parent
9066e77511
commit
505ac5b5c6
6 changed files with 13 additions and 16 deletions
|
|
@ -1,14 +1,13 @@
|
|||
'use strict';
|
||||
var bitcore = require('bitcore');
|
||||
|
||||
angular.module('copayApp.controllers').controller('TransactionsController',
|
||||
angular.module('copayApp.controllers').controller('HistoryController',
|
||||
function($scope, $rootScope, $timeout, controllerUtils, notification, rateService) {
|
||||
controllerUtils.redirIfNotComplete();
|
||||
|
||||
|
||||
var w = $rootScope.wallet;
|
||||
|
||||
$rootScope.title = 'History';
|
||||
$scope.loading = false;
|
||||
$scope.lastShowed = false;
|
||||
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('AddressesController',
|
||||
angular.module('copayApp.controllers').controller('ReceiveController',
|
||||
function($scope, $rootScope, $timeout, $modal, controllerUtils) {
|
||||
controllerUtils.redirIfNotComplete();
|
||||
|
||||
$rootScope.title = 'Addresses';
|
||||
|
||||
$scope.loading = false;
|
||||
$scope.showAll = false;
|
||||
|
||||
|
|
@ -35,11 +35,11 @@ angular
|
|||
logged: true
|
||||
})
|
||||
.when('/receive', {
|
||||
templateUrl: 'views/addresses.html',
|
||||
templateUrl: 'views/receive.html',
|
||||
logged: true
|
||||
})
|
||||
.when('/history', {
|
||||
templateUrl: 'views/transactions.html',
|
||||
templateUrl: 'views/history.html',
|
||||
logged: true
|
||||
})
|
||||
.when('/send', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue