From 7f4f4b3724b73756d78531ce6f80a5052d791a5f Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Mon, 8 Feb 2016 21:42:14 +0100 Subject: [PATCH] Fix controller aliases. --- accountant/frontend/static/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'