This question may have already an answer. But I have seen so many users are posting questions regarding ng-repeat
and ng-options
as they are not able to achieve the desired solution.
There are lot of questions on ng-repeat
and ng-options
but users with their data that is coming as a response from a request, they are making it complicated or already it is complicated and then posting their question on the site.
Can someone please tell these two things(ng-repeat
and ng-options
) in detail with brief explanation and best cases? Why can't we simplify the data in the controllers before coming in to the view level to reduce looping
?