You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
While attempting to migrate from 1.2.x to 1.3.x, we have noticed that directives that use ngRepeat on their root element no longer properly inherit from the parent scope if replace is used. If the ngRepeat is not on the root element, or if replace is not used, scope inheritance works as expected.
The linked issue with ngIf and replace:true has been fixed, but it didn't fix this issue here. Oddly enough the inspectable scope structure looks correct (the repeat elements have the correct parent), but the inheritance is broken.
Still, as replace is deprecated, don't hold out for a fix.
While attempting to migrate from 1.2.x to 1.3.x, we have noticed that directives that use ngRepeat on their root element no longer properly inherit from the parent scope if replace is used. If the ngRepeat is not on the root element, or if replace is not used, scope inheritance works as expected.
jsFiddle demonstrating the issue: http://jsfiddle.net/z1h50wa1/
jsFiddle with the exact same code as above, but using 1.2.x: http://jsfiddle.net/00Lvrgxd/
The text was updated successfully, but these errors were encountered: