searchKeyword not working in AngularJS filter
问题 I am writing an app using AngularJS on the front end. I want to search through a table by any word/field; one search box for everything. According to this article here: http://hello-angularjs.appspot.com/searchtable I can use filter: searchKeyword to do just this. This is my code, and it is not working as expected. <label>Search: <input ng-model="searchKeyword"></label> <table ng-repeat="post in posts | orderBy: sort | filter: searchKeyword"> <tr> <td> {{index(post)}} </td> <td> {{post.title}