Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng-repeat render order reversed by ng-if #11131

Closed
jamesbrobb opened this issue Feb 22, 2015 · 1 comment
Closed

ng-repeat render order reversed by ng-if #11131

jamesbrobb opened this issue Feb 22, 2015 · 1 comment

Comments

@jamesbrobb
Copy link

Expected behaviour with replace: true on element created by ng-repeat

http://plnkr.co/edit/qG9zBzFg857NiOWBdDOI?p=preview

Reversed behaviour when ng-if is on root element using replace: true

http://plnkr.co/edit/3AlGxz3YAvYbTURQ6nnW?p=preview

The issue does not exist when using template instead of templateUrl

http://plnkr.co/edit/ErWSV8IWBwVazF9aOt4d?p=preview

@Narretz
Copy link
Contributor

Narretz commented Mar 8, 2015

There are a few other issues where the DOM is different between template and templateUrl. Let's track these here: #10612

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants