-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Different DOM when using template vs templateUrl with replace true #10612
Comments
Unit test reproducing the issue: https://gist.github.com/kopatsy/a9083762cc8cf479b2d6 |
I have faced similar issues on past. Wrapping |
there are a few previously reported issues on different variations of this. The main issue is that when |
So, the question is if we intend to fix these or simply document these edge cases |
Duplicate of #14326 |
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
The text was updated successfully, but these errors were encountered: