SyntaxFix
Write A Post
Hire A Developer
Questions
You can try this:
this.activatedRoute.paramMap.subscribe(x => { let id = x.get('id'); console.log(id); });