Oh god. :p. Thanks Justin.

Why angular doesn't show any error?

I replaced and  i can't toggle child-two. I updated my plunk:

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



2014-10-12 7:56 GMT-03:00 Justin Walsh <[email protected]>:

> 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 a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/UIyBJJSQjGs/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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.

Reply via email to