how to import another component in angular code example
Example 1: how to add different components in the same page in angular
<div>{{title}}</div>
<app-comp1></app-comp1>
<app-comp2></app-comp2>
Example 2: update one component from another component angular 9
this.CommonService.updateListsObs
.subscribe(
(response) => {console.log("You will get date range in response which can be used to filter Car list in Component A ")}
)