Answer the question
In order to leave comments, you need to log in
How to make ng-repeat orderBy work after adding an element?
Good afternoon.
For one application, I use the angular ng-repeat function to display information, and filter it. The problem is that I need to add elements to the page and then filter them, and it only filters the information that was loaded when the application loaded. Here's an example:
jsfiddle.net/rp8q8bs3/1
If we add the letter "E" and try to filter, only the letters "ABCD" are filtered, and the object with the property name : E is not filtered. Maybe someone faced such a problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question