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

ng-if duplicates DOM elements when scope value is changed (in 1.2.0) #4863

Closed
mkotsur opened this issue Nov 10, 2013 · 1 comment
Closed

Comments

@mkotsur
Copy link
Contributor

mkotsur commented Nov 10, 2013

When used with an object as condition, ng-if duplicates.

Works fine on 1.2.0-rc.3, but broken on 1.2.0.

See http://jsfiddle.net/mkotsur/4JMb5/

The workaround would be to change condition use ng-if = 'something != undefined' instead of ng-if = 'something'.

@pkozlowski-opensource
Copy link
Member

Looks like duplicate of #4852

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

No branches or pull requests

2 participants