Getting to angular 2 slowly, but I was stumped by one specific issue.
If you have this agreement,
<parent>
<child/>
</parent>
I can notify the child of the parent changes using @Input () and make him listen to the changes. I can notify the parent of changes in the child using @Output () and EventEmitters.
What I'm looking at now notifies the routable component (the component that dynamically loads when the link is clicked) about a specific event that occurs in the main appComponent. See the example below;
<app>
<button (click)='addEntity()>Add</button>
<router-outlet></router-outlet>
</app>
I want to be able to notify a component that is loaded on a socket router by a button click.
(// ..), . (, ContactComponent), // (, contact-detail.component).
?