I already have the pagination implemented. Now I want the pagination to be updated after filtering my results.
The form:
Use $timeout instead of window.setTimeOut. $timeout is wrapped properly to work consistently in Angular.
$timeout
window.setTimeOut