When you get this error, it basically means that it's already in the process of updating your view. You really shouldn't need to call $apply()
within your controller. If your view isn't updating as you would expect, and then you get this error after calling $apply()
, it most likely means you're not updating the the model correctly. If you post some specifics, we could figure out the core problem.
↧
Answer by dnc253 for AngularJS : Prevent error $digest already in progress when calling $scope.$apply()
↧