title: How to obtain a URL parameter in the application component
body: <p>Is there some way to get the hero id parameter from the <code>ApplicationComponent</code>?</p>
  
  <pre><code>const appRoutes: Routes = [
    { path: 'crisis-center', component: CrisisListComponent },
    { path: 'hero/:id',      component: HeroDetailComponent },
    {
      path: 'heroes',
      component: HeroListComponent,
      data: { title: 'Heroes List' }
    },
    { path: '',
      redirectTo: '/heroes',
      pathMatch: 'full'
    },
    { path: '**', component: PageNotFoundComponent }
  ];
  </code></pre>