I'm using a search box(input) for filtering the table result. Currently it filters regarding StudentName column, but it needs to be dynamic.
Lets say:
filter :{'RollNo' :test}
filter :{'Dept' :test}
Program in short:
<input type="text" ng-model="test">
<table>
<tr ng-repeat="x in names |filter :{'StudentName' :test}"></tr>
</table>