how to pass component as parameter angular code example
Example: angular pass params
this._Activatedroute.paramMap.subscribe(params => {
this.id = params.get('id');
});
this._Activatedroute.paramMap.subscribe(params => {
this.id = params.get('id');
});