I want to make a dynamic routing into my template. Values of routing come from an array which is iterated with ngFor. Also I want to make some transformations to this values which are of type string. Thanks
I tried to put values from an array but it gives me this error : Error: Cannot match any routes. URL Segment: 'items.label' Error: Cannot match any routes. URL Segment: 'items.label'
<li *ngFor = "let items of this.labelsMenu|async">
<a[routerLink]="['items.label'] " href="#" >
</li>