zachsnow / ng-multi-transclude

ng-multi-transclude
MIT License
79 stars 19 forks source link

directives using template w/ multi-transclude seem to lose reference to scope in certain cases #28

Closed jusopi closed 9 years ago

jusopi commented 9 years ago

I use multi-transclude to build reusable components. After updating to v0.1.4 I notice that the transcluded content that contain reference to outside scopes doesn't bind properly if the multi-transclude directive creates an isolate scope.

Here is a plunker for it - http://plnkr.co/edit/ASkgPvnlvZlKVX4lipzT?p=preview (in coffeescript btw, let me know if I need to make it in js)

This was not an issue in v0.1.3, be it by error or design.

jusopi commented 9 years ago

29 is a duplicate w/ more information on this issue. If this can be deleted, it should be.