how to include a component in another component angular code example
Example 1: angular add component
ng generate component [name]
Example 2: how to add different components in the same page in angular
<div>{{title}}</div>
<app-comp1></app-comp1>
<app-comp2></app-comp2>