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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -