Angular JS and Ionic filter query

I am trying to add a search filter to my Angular/Ionic app this is for a search box, but the data in the list is from a Wordpress api and is for the localStorage the code is:

<li class="item item-checkbox" ng-repeat='tag in item.tags track by $index'>
    <label class="checkbox">
        <input type="checkbox" ng-model="option.city[$index]">
     </label>
     <p ng-bind-html="tag.title"></p>
</li>

How do you apply the filter in the ng-repeat directive?

Thanks

I hope I understood you right..

Just add a filter expression in your ng-repeat... "yourSearchTextField" would be the ng-model of the search input text field

<li class="item item-checkbox" ng-repeat='tag in item.tags track by $index | filter:yourSearchTextField'>