Hi have used filter with ng-repeat to search records
like

```
<input type="text" ng-model="search">
<tr ng-repeat="data in vm.records | filter:search"></tr>

```

filter is only worked when whole text match like I have records
user1,user,test1,test2 if i type u or t only it is not showing any result and if I type user1 then it matched record

please suggest me any idea
thanks in advance.