angular 9 get route params code example
Example: route parammap subscribe angular 9
this.route.paramMap.subscribe((params: ParamMap) => console.log(params.get('id')));
this.route.paramMap.subscribe((params: ParamMap) => console.log(params.get('id')));