I am very new to Angular 2. We are developing a menu based angular app using router-outlet.
I have a field in App.component.html, let say - JobName , which is binded using a property in app.component.ts and ng-model attribute.
User can go to a menu (say, SelectNewJob ) and can select a new Job. SelectNewJob is another component loaded using router-outlet tags
When User change job in SelectNewJob tab, I need to Update JobName field in app.component.html.
How can I do this.? I have tried Event Emitters, but it not working with router-outlet. Is there any other way to achieve this (using service..etc)
Please help.