app/js/directives/globalSearchForm.js
Function controller
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
controller: function($scope, $element, $attrs) {
$rootScope.root.haveSearchSuggestion = false;
$rootScope.root.lastSearchTimeStamp = new Date();
$rootScope.root.selectedTermIndex = -1;
$rootScope.root.searchSuggestions = [];