I can really use some help here. I have 2 custom directives (second one 
nested in 1st). All the code is running fine except the second directive. 
When I try to click on Remove button, I get the following error in Dev 
tools:

TypeError: Cannot read property 'friends' of undefined
at vm.removeFriend 

I have tried everything and at my wits end but can't figure this out. Can 
someone assist please? Here is the Plunker:

https://plnkr.co/edit/jmIifQPPO7Xmiw6rVTnM

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to