Is there a way to call a function from one component in Angular 2 into another? I have two components and I need to invoke a method defined in the other component.
The components do not have a parent-child relationship, as the overview component is a routed component, which means @ViewChild cannot be used.
I am aiming to call a project method from the header section throughout all pages