Hey together,
I have following situation:

<https://lh3.googleusercontent.com/-jJsbqhMxjGU/Vpg6SPuqEmI/AAAAAAAAEBY/VtWqDSBGdy0/s1600/Zeichnung1.png>















I simply want to give a string into the Router from the active child 
component.

I was looking for an event bubbeling solution, where e.g. ComponentA emits 
a event in a OnInit hook method and AppComponent is listening for it.

Also I tried to access the active component through the Router and the 
Location object.

I am stuck!

The only way I found was: 
http://plnkr.co/edit/0hrHdO14sHy3LNVWpuiZ?p=preview
but it looks not, like the Angular 2 way.

Could somebody please help me?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to