What am I doing wrong(angular)?

Hello colleagues.
I have a lot of components, I use a router and during re-direction routera I was faced with a problem, describe in detail:
I have one title file app.component.html it displays all components that is the website completely, but now I'm done with routera component about clicking on it to display all that I wrote in about.componetn.html, then there is a problem, when I click on about, he about appears but with it displayed and the site too, I mean the title page + about and it is necessary to when you click see only what I wrote in about.
June 14th 19 at 20:34
1 answer
June 14th 19 at 20:36
Solution
You need in app.component to leave only the router outlet, and the rest to move either HomeComponent or to make gazowanie and add some BaseComponent to contain that code which is now in the app.component – Konstantin Okhotnick 2 minutes ago

Find more questions by tags AngularFrontendWeb Development