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

Requiring a directive controller as a parent from the same directive returns own controller #5659

Closed
Burgov opened this issue Jan 7, 2014 · 2 comments

Comments

@Burgov
Copy link

Burgov commented Jan 7, 2014

http://plnkr.co/edit/E2J5lRqn11nH9CafbL6B?p=preview

I'm trying to create a nested system of directives, by making a directive optionally request for itself, but with the parent modifier ^. However, the controller passed to the link function is that of the directive itself, not that of the parent.

@ghost ghost assigned tbosch Jan 8, 2014
@caitp
Copy link
Contributor

caitp commented Jan 11, 2014

I think this is a dupe of #4518

@Narretz
Copy link
Contributor

Narretz commented Jun 24, 2014

Yes, I say dupe

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

No branches or pull requests

4 participants