Is it possible to show the state name in the address bar for the specific route in angular 2 and 4. for ex, i have below route configurations,
{
path:"animals",
component : AnimalComponent,
children:[{
path:"cat",
component:CatComponent
},{
path:"dog",
component:DogComponent
}]
}
it loads CatComponent in AnimalComponent router-outlet when address is "animals/cat" and DogComponent in AnimalComponent router-outlet when address is "animals/dog". Is it possible to show only "cat" in the address bar for the "animals/cat" and "dog" in the address bar for the "animals/dog" route.