What I am doing is putting the filter on table (contains records). When I type into search box (used http get method), table data get updated as per search box. But when I type very fast, then I see in console 500 Internal Server error.
The main problem is before comming previous response I am firing the next request. There is no problem in result. Just console shows every http request. And in case of fast typing in search box it gets red.
What is the solution for it?
debounceoption like that:<input type="text" ng-model="searchStr" ng-model-options="{debounce: 1000}">which will only filter after 1000ms after you stopped typing