I have an angular application that is ment to search through 1000+ objects. is tearing on the ui and the application seems slow.
The objects im searching through looks like this:
The current array im searching through is 799 long.
My search method up till now has been an input field with the following:
<input type="text" class="form-control" placeholder="Søg" ng-model="search.$">
As you might have guessed the problem is that im searching in all of the text.
So i attempted to change this to only search in the question field:
<input type="text" class="form-control" placeholder="Søg" ng-model="search.question">
However this did not help much. The UI is still "laggy" when i attempt to write in the search field.
So my question is how do i optimize this search and avoid a laggy ui?
