rename controllers and views

This commit is contained in:
Matias Alejo Garcia 2014-10-30 14:13:40 -03:00
commit 505ac5b5c6
6 changed files with 13 additions and 16 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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', {