Skip to content

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

@vvolodin

Description

@vvolodin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions