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
one approach would be to drop script deps into template files that get rendered via your router or ng-include. you'd have to hack it to avoid executing them twice when the template gets rendered a second time.
also, consider bundling your work into a directive that you can open-source if there isn't already an easy solution.
The text was updated successfully, but these errors were encountered:
do some research on lazy-loading and angular.
one approach would be to drop script deps into template files that get rendered via your router or ng-include. you'd have to hack it to avoid executing them twice when the template gets rendered a second time.
also, consider bundling your work into a directive that you can open-source if there isn't already an easy solution.
The text was updated successfully, but these errors were encountered: