I don't think that filter is necessary in this case. You can use simple ng-repeat and ng-class directive for example
<tr ng-repeat="record in allrecords" ng-class="{'containscmp': isContainsComparator(record)}">
<td>....</td>
<td>....</td>
<td>....</td>
</tr>
where $scope.isContainsCoparator(record) function returns true if the record contains user's input