My team is using angular-faye, and we have ran into an issue where we periodically get [$rootScope:inprog] $digest already in progress. The stack trace shows angular-faye calling $apply, which causes an error when another $digest or $apply is in progress.
If we use $timeout instead, it will safely trigger a $digest cycle.
My team is using
angular-faye
, and we have ran into an issue where we periodically get[$rootScope:inprog] $digest already in progress
. The stack trace showsangular-faye
calling$apply
, which causes an error when another$digest
or$apply
is in progress.If we use
$timeout
instead, it will safely trigger a$digest
cycle.