Fix controller aliases.
This commit is contained in:
parent
d95d735ace
commit
7f4f4b3724
@ -56,17 +56,17 @@ angular.module('accountant', [
|
||||
.when('/account/:accountId/operations', {
|
||||
templateUrl: 'static/templates/operations.html',
|
||||
controller: 'OperationController',
|
||||
controllerAs: 'operations'
|
||||
controllerAs: 'operationsCtrl'
|
||||
})
|
||||
.when('/account/:accountId/scheduler', {
|
||||
templateUrl: 'static/templates/scheduler.html',
|
||||
controller: 'SchedulerController',
|
||||
controllerAs: 'scheduler'
|
||||
controllerAs: 'schedulerCtrl'
|
||||
})
|
||||
.when('/accounts', {
|
||||
templateUrl: 'static/templates/accounts.html',
|
||||
controller: 'AccountController',
|
||||
controllerAs: 'accounts'
|
||||
controllerAs: 'accountsCtrl'
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/accounts'
|
||||
|
Loading…
Reference in New Issue
Block a user