'angular routing service and child routing

I have a shell component ,which has a header component, route service and module in it. The other component "Home" has "customer" component in it. I defined the customer route in the home routing module which uses the shell route service to define the routes. whenever i run the app the customer component it is loading behind the header in the web page. in the app routing module I have define the routes. attaching the code below . The shell html has header and a router outlet,home html has header outlet and app.html has a router outlet.app.routing shell.servicehome.module home.routing



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source