How to create a search in angularjs?

In js file I have defined an array of objects (name, surname, contact(Skype, VK and so on)). Need to do a search through the records. For example: I enter on input 'skype' and returns all records whose specified contacts Skype. That is, the search must be carried out in 3 fields. How it can be implemented?
June 14th 19 at 20:08
1 answer
June 14th 19 at 20:10
Input hang on ngChange, and listen to the changes. Preferably ng-modeloptions={debounce: '500'}, at least not to twitch all after each input.
In the handler changes the simple Array.filter with the desired settings.
It can be done via filter, but me this variant not very much.
You probably don't understand. I need to do a search on 3 fields, that is, I enter skype and should show the records whose contacts 'skype' or who have the name 'skype'(or partial name), or who name 'skype'(or part). - nikita.Stracke commented on June 14th 19 at 20:13
That you did not understand me. At least 100 fields. Describe filtering rules in a function that takes an Array.filter and all. - willow.Hand commented on June 14th 19 at 20:16

Find more questions by tags Angular