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

Description
Hello team,
We have a regression with the last angular version (since v1.3.0-beta.11)
In this commit d71df9f#diff-1c8fbee1402a2ef3c203def41d1960cdR97, you modified the child scope ngIf uses. Now with this modification, using ngIf on the root element of a directive template that is configured with replace:true, the $scope is not the expected one. (it's not the same)
We tried to build a reduced test case to show the regression :
As you can see, the first directive failed in beta 11.
What do you think ? Is it a bug or the new expected behaviour ?
If so, maybe we should detail the documentation.
thx!