I need to highlight the div of searched item. what ever the item searched the class will change to the particular div.
note: not the text
HTML:
<input type="text" ng-model="mod">
<div ng-repeat="item in items | filter: mod" ng-class="highlight">
{{item}}
</div>
Can anyone suggest me a way to this thanks in advance