Is there a built-in method in Angular for filtering or querying results as you type?
For example:
<input type='text' ng-model='query'>
<table>
<tr>
<td>Name</td>
<td># of Enrollments</td>
</tr>
<tr ng-repeat='c in courses | filter:query' onfilter='someStuff()'>
<td>{{c.name}}</td>
<td>{{c.enrollmentLength}}</td>
</tr>
</table>
If I type the letter "a" into the input text, I want it to trigger the someStuff() function.