Angularjs $digest already in progress

Error! oh noes: Angularjs $digest already in progress.


Generally you shouldn’t be using apply too often in your code, it’s mainly for when your data may have changed from outside angular and you want to update the template with model data.

You can check if a $digest is already in progress by checking $scope.$$phase.

Sam is a passionate web developer, online entrepreneur and investor. In his spare time he enjoys coding, playing chess and reading.

2 thoughts on “Angularjs $digest already in progress

Leave a Reply

Your email address will not be published. Required fields are marked *