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.
Different DOM when using template vs templateUrl with replace true #10612
Closed
Description
When repeating a directive with replace=true and a templateUrl, all the elements of the repeated directives end up in the last repetition.
The only difference between the two plnkr's below is that the first one is using templateUrl while the second one is using an inlined template. The rendering is however different.
With templateUrl (broken): http://plnkr.co/edit/c7jZSldkkQxzjNRZHcPZ
With template (working): http://plnkr.co/edit/aMm6eReAZ4C5WgrsMddD