This repository has been archived by the owner on Dec 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Loosing Scope #16
Comments
Your multi-transcluded blocks are linked in the context in which they are defined, not in context into which they are "injected". So you should use |
Let me know if this works for you! |
Take a look at this http://plnkr.co/edit/50JMsM?p=preview, don't know why I didn't write a plunk to begin with. |
I've updated it to reflect the change I suggested above: http://plnkr.co/edit/lv7AHh?p=preview Hope that helps. |
Got it, makes sense. Thanks for the help. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have setup my template, nav-template, like below.
Works: the nav-version directive finds the hrefPath on the scope
Doesn't Work: the nav-version directive doesn't find the hrefPath on the scope. The scope gets moved into the $$childHead.
The text was updated successfully, but these errors were encountered: