Monday, 9 September 2013

What does $scope.$apply() do?

What does $scope.$apply() do?

I've been using $scope.$apply() to update the bindings for my models in my
Angular apps, and it works. But what does it actually do and why does it
need to be called to achieve the update?

No comments:

Post a Comment