I'm working through the AngularJS tutorial, and understand the basics of <li ng-repeat="item in items | filter:query">
However, the out of the box implementation seems limited to just filter the list of items to the exact word or phrase entered in <input ng-model="query">.
Example: if the query is "table cloth", the result list can include a result with this phrase, "Decorative table cloth", but won't include "Decorative cloth for table" because the filter is just a continuous search string.
I know there's the ability to add custom filters, but at first glance it seems like those are mainly transforms.
Is there any way to add a custom filter so that both "Decorative cloth for table" and "Decorative table cloth" show up in the filtered result set?