Do I need to call $scope.$apply when I make an ajax call using $http ?
Looks like it isn't needed because my code still works, and when I used JQuery ajax I needed to call apply or it didnt work.
So just to be completely sure, can I skip the apply calls now?
With AngularJS version 1.1.x you will need to add Scope.$apply
if triggering $http
calls outside of the AngularJS $digest
cycle.
Detailed explanations here: https://stackoverflow.com/a/17271385/1418796
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With