AngularJS: $digest already in progress

25 Nov 2013

if(!$scope.$$phase) { //$digest or $apply }