In this tutorial im going to learn how to use component to another component.
First to create 1 component
ng generate component user-list
Second go to user-list.components.ts

And copy selector
app-user-list
Next whenever you want to show this just paste selector with opening closing tag
<app-user-list></app-user-list>


Thanks for reading.