Added ng-class to search input when it has tags.