diff --git a/app/scripts/controllers/accounting/AccountingClosureController.js b/app/scripts/controllers/accounting/AccountingClosureController.js index 21e674be..03a95441 100644 --- a/app/scripts/controllers/accounting/AccountingClosureController.js +++ b/app/scripts/controllers/accounting/AccountingClosureController.js @@ -1,6 +1,6 @@ (function (module) { mifosX.controllers = _.extend(module, { - AccountingClosureController: function (scope, resourceFactory, location, anchorScroll, translate, routeParams, dateFilter) { + AccountingClosureController: function (scope, resourceFactory, location, translate, routeParams, dateFilter, anchorScroll) { scope.first = {}; scope.formData = {}; scope.first.date = new Date(); @@ -55,7 +55,7 @@ } } }); - mifosX.ng.application.controller('AccountingClosureController', ['$scope', 'ResourceFactory', '$location', '$translate', '$routeParams', 'dateFilter','$anchorScroll', mifosX.controllers.AccountingClosureController]).run(function ($log) { + mifosX.ng.application.controller('AccountingClosureController', ['$scope', 'ResourceFactory', '$location', '$translate', '$routeParams', 'dateFilter', '$anchorScroll', mifosX.controllers.AccountingClosureController]).run(function ($log) { $log.info("AccountingClosureController initialized"); }); }(mifosX.controllers || {}));