Setting $scope.myModel element with ng-change enters in infinite loop
问题 I'm pretty new to Angular and trying to achieve something "basic". I've been googling for 2 days without success and would appreciate some help. I have an html page on which I'm trying to: Initialize data with a HTTP POST request Call a function via the ng-change event to update the data with another HTTP POST when elements used as filters are changed (i.e. categories, sorting asc/desc...) My problem is that when I'm updating the model programmatically with the HTTP response (only in this