Prevent "$digest already in progress" error