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.
If I use ng-transclude with ng-repeat I can't access the ng-repeat scope. The scope of ng-transclude is not a child of ng-repeat. On 1.3.0-beta.10 it works correct. The plunker example below shows the issue. I also added my workaround but it's nasty.
What you see in 1.3.0-beta.11 is the correct behavior: ng-transclude specifically inherits from the parent scope, not from the directive scope. This is just the way it works. See #7874 for more discussion on this, and specifically #7874 (comment) for a good workaround that doesn't involve hacking ngTransclude
Hi!
If I use ng-transclude with ng-repeat I can't access the ng-repeat scope. The scope of ng-transclude is not a child of ng-repeat. On 1.3.0-beta.10 it works correct. The plunker example below shows the issue. I also added my workaround but it's nasty.
http://plnkr.co/edit/GIXzsOuurH1umAcH7kuc?p=preview
The text was updated successfully, but these errors were encountered: