You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I am integrating some jQuery functionality into my Angular app, which involves the use of jQuery callbacks. The docs indicate that callbacks executing outside of the context of a scope should use scope.$eval to make sure everything gets updated. This does indeed work. However, sometimes my callbacks are called immediately rather than later on, which means I get a "$digest already in progress" error.
I think I can work around this by wrapping all my callbacks in a setTimeout, but this seems inelegant. Perhaps there should be some way to let a callback which may or may not be executed outside a scope to wrap itself in the scope?