diff --git a/public/directives/wz-menu/wz-menu.js b/public/directives/wz-menu/wz-menu.js index ab5e7d46d6..c2db2aac5a 100644 --- a/public/directives/wz-menu/wz-menu.js +++ b/public/directives/wz-menu/wz-menu.js @@ -17,7 +17,7 @@ const app = modules.get('app/wazuh', []);; app.directive('wzMenu',function(){ return { - controller: function ($scope, $window, $rootScope, appState, patternHandler, courier, errorHandler,genericReq,$location) { + controller: function ($scope, $window, $rootScope, appState, patternHandler, courier, errorHandler, genericReq, $location, wzMisc) { $rootScope.showSelector = appState.getPatternSelector();