Link to 
SO: 
http://stackoverflow.com/questions/38460470/accessing-route-data-in-root-component-route-data-is-empty

Basically, I am loading a child component via <router-outlet> and I need to 
access the ActivatedRoute data in app.ts which is the root component. You 
can see in this issue here: https://plnkr.co/edit/gTXPUb6TvatbMyOPPRKj

You can open the console and see two logs. One log is showing the params 
normally pulled in from lang.component and the other log shows empty route 
data pulled in from app.ts component. 

Any help would be really appreciated. Thank you.

-- 
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