Please review the chart below for my application

EventsHub is a simple injection service:
import {Injectable} from '@angular/core'; import {Subject} from 'rxjs/Subject'; @Injectable() export class EventsHub { private announcementSource = new Subject<string>(); messageAnnounced$ = this.announcementSource.asObservable(); announce( message : string) { console.log('eventHub : firing...'+message); this.announcementSource.next(message); } }
The problem is that the “announcement” function is called from funds, clients or any other component inside the router, the parent (MainApp) does not receive any messages.
On the other hand, when I call the same utility function from NavigationMenu, MainApp receives the event just fine. So, how are routed components supposed to interact with their parent?
thanks
this case has been tested on RC1 and RC2
source share