Hi César
In your child directives, replace:
parent: '^parent',
with:
require: '^parent',
Regards
Justin
On Saturday, October 11, 2014 8:56:11 PM UTC+2, César Costa wrote:
>
> Hi,
>
> I implemented a parent directive that have two child directives. When the
> user click in button inside child-one directive i need to toggle a content
> from child-two directive. But, the parent controller inject on childs
> directive are undefined.
>
> This plunker show my case:
>
> http://plnkr.co/edit/tVBYIE?p=preview
>
> Can anyone help me?
>
>
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.