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'm creating a directive that wraps Uploadify file upload control. The directive destroys the Uploadify widget when the scope gets the $destroy event.
When placed inside something with ng-if applied, destroying the Uploadify widget causes exceptions in IE8. Uploadify gets the SWF element by ID, but ng-if has already detached the elements from the DOM, so getElementById returns null.
Is it OK to simply reorder the code in ng-if to destroy the scope first? Or does that break other things?