diff --git a/src/app/controllers/panelBaseCtrl.js b/src/app/controllers/panelBaseCtrl.js index 9df7528cd20..24ce1ddd25f 100644 --- a/src/app/controllers/panelBaseCtrl.js +++ b/src/app/controllers/panelBaseCtrl.js @@ -6,6 +6,8 @@ define([ function (angular, _, $) { 'use strict'; + // This function needs $inject annotations, update below + // when changing arguments to this function function PanelBaseCtrl($scope, $rootScope, $timeout) { var menu = [ @@ -125,6 +127,8 @@ function (angular, _, $) { } + PanelBaseCtrl['$inject'] = ['$scope', '$rootScope', '$timeout']; + return PanelBaseCtrl; }); \ No newline at end of file