title: how to redirect to parent route from children route in angular 2
body: <p>I created child router in my router configuration and configured my child router in way that it redirects to parent router component. But the configuration doesn't work as expected. Instead it redirects to error page as it didn't find the configured path.</p>
  
  <p>My app.route.ts file</p>
  
  <pre><code>import { ModuleWithProviders }  from '@angular/core';
  import { CanActivate, Routes, RouterModule } from '@angular/router';
  // Component
  import { HomeRouterComponent } from '../../modules/home/homerouter.component';
  import { ChannelComponent } from '../../modules/channels/channel.component';
  
  import { ErrorComponent } from '../../modules/errorPage/error.component';
  
  
  
  const appRoutes: Routes = [
    {
      path: 'home',
      component: HomeRouterComponent,
      canActivate: [LoginCheck]
    },
    {
      path: '',
      redirectTo: 'home',
      pathMatch: 'full',
    },
    {
      path: 'channel',
      component: ChannelComponent,
      children: [
        {
          path: '',
          redirectTo: 'channel',
          pathMatch: 'full',
        }
      ]
    },
     {
      path: '**',
      component: ErrorComponent
    }
  ];
  
  export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes);
  </code></pre>