angular2 - Pass value from parent route to child route
问题 I have a route called home and it has three child routes, documents, mail and trash. In the home route component it has a variable called 'user'. I know there are a few ways of passing info between parent and child components highlighted here, but how am I suppose to pass info between parent/child routes. { path: 'home', component: HomeComponent, children: [ { path: 'documents', component: DocumentsComponent }, { path: 'mail', component: MailComponent }, { path: 'trash', component: