I think you can fire an event in B and then in A's template `<B (myEvent)="functionInA($event)"></B>`
On Tuesday, December 29, 2015 at 3:27:19 PM UTC+1, Kumar Ranjan wrote: > > Hi , > > i have created a Component (A) and inside A i have used a directive B > (actually Component) to display a list . i wanted to call a function of A > when i click on B. hope you understand the problem its difficult to post > the whole code . > > > Thanks > -- 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.
