Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

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

Open
jusopi opened this issue Mar 31, 2015 · 3 comments

Comments

@jusopi
Copy link

jusopi commented Mar 31, 2015

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.

.directive 'pod', ->
   {
       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.

@zachsnow
Copy link
Owner

I take it this is supposed to be an edit of #28?

@jusopi
Copy link
Author

jusopi commented Mar 31, 2015

yes. sorry, dunno why it duplicated it. You can delete the other one. I don't have the ability to actually delete #28 I can only close it.... figure you'd rather just delete it.

@gzsombor
Copy link

gzsombor commented May 9, 2015

Any suggestions what could possible go wrong? I have the same problem, in 0.1.3 the components inside the templates are working, but after, it's not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants