How can I access from a child component to another child component in Angular 4 [duplicate]
This question already has an answer here: How can I communicate between two child components in angular? [duplicate] 4 answers I have a parent component and inside there are 2 different child components. I need to call the second child component's function from the first child component when I click a link in the first child component. So here is a basic diagram to explain better: You could archieve this by means of ViewChild and Output For example: @Component({ template: ' <child-one (clicked)="handleClick()"></child-one> <child-two></child-two> ' }) export class ParentComponent { @ViewChild