I have below template, how to bind the defaultRelatedGuideUrl
from the controller to the template?
[routerLink]="(editMode || readOnly) ? [] : ['/defaultRelatedGuideUrl/', link.slug]">
Controller:
@Input() defaultRelatedGuideUrl = 'myparam';
Use this syntax:
[routerLink]="(editMode || readOnly) ? [] : ['', defaultRelatedGuideUrl, link.slug]">