javascript - Two chrome extensions using AngularJS and sharing the Gmail DOM crashing both -


i have chrome extension injects functionality gmail dom works fine when no other extensions trying same. need use angular.bootstrap bootstrap injected html code since dynamic after page has been rendered gmail think extensions operate in gmail do.

as extension in gmail uses angular attempts bootstrap itself, @ top html tag , injects on top of bootstrapped code , generates error in bootstrapping routine: uncaught error: [ng:btstrpd] app bootstrapped element

then, worse, both apps sharing scope in strange way neither functions after (the angular core code starts crashing around mutating dom bindings, etc.).

it appear since both of operating in our own sandboxes @ least partially , trying bootstrap @ top level there no way detect and/or prevent overlap. have options here?


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -