update another component data from different component angular code example
Example: 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 ")}
)