SVGInjector2 icon indicating copy to clipboard operation
SVGInjector2 copied to clipboard

Doesn't work well with multiple ng-apps on a single page

Open vvolodin opened this issue 8 years ago • 1 comments

I know it's a boundary case but I have 2 angular apps running on a single page, both are using svg-injector and it throws an error if I try loading the same svg URL in both apps. It looks like process queue is being processed twice and since the queue contains a hash of URLs with elements the second pass through the queue encounters empty elements from the first app that have been replaced already.

vvolodin avatar May 11 '17 16:05 vvolodin

could you send me a gist where you show me, what your exact problem is? thank you very much!

flobacher avatar May 12 '17 19:05 flobacher