diff --git a/accountant/frontend/static/js/app.js b/accountant/frontend/static/js/app.js index c1492d3..22f229b 100644 --- a/accountant/frontend/static/js/app.js +++ b/accountant/frontend/static/js/app.js @@ -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'