Fixes js errors with apply since a digest is already in operation.