hide parent component when child component loaded
{
path: 'parent',
//component: ParentComponent,
children: [
{ path : '', pathMatch:'full', component: ParentComponent},
{ path: 'child', component: ChildComponent },
],
}