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.
Parent scope not inherited within directive using ngRepeat and replace #12260
Closed
Description
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/