I'm trying to pass an id in my routerLink, how could I concatenate it?
<a routerLink="['/details', {{data.id}}]"> </a> doesnt work.
Do you have solutions?
Thanks in advance
There you go.
<a [routerLink]="['/details', data.id]"> Link </a>