How do I access params from router-link code example
Example: router link with params
<!-- Import in module... -->
imports: [
RouterModule,
....
],
<!-- HTML -->
<button [routerLink]="['profile', user.id]"........
<!-- Import in module... -->
imports: [
RouterModule,
....
],
<!-- HTML -->
<button [routerLink]="['profile', user.id]"........