This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngSwitch directive leaks when inside transcluded content #1621
Closed
Description
ngSwitch leaks when inside transcluded content. This is because it associates its data during the compile phase of the template.
element.data(NG_SWITCH, cases);
The template is then cloned for rendering, and as the clone doesn't include the jQuery expando property a leak occurs when the rendered content is removed.
Metadata
Metadata
Assignees
Labels
No labels