You can use a template variable to get a link to a brother. If it <app-controls>has an output, where it generates events when a button is pressed, you can:
<app-controls (buttonClicked)="main.doSomething($event)"></app-controls>
<app-main #main></app-main>
or you can pass a link to @Input() siblings;, and then call methods on it:
<app-controls [sibling]="main"></app-controls>
<app-main #main></app-main>
source
share