<a roterLink="/someurl/
str ">
text </a>
here routerLink is not working in angular 9
CodePudding user response:
try like this:
<a routerLink="/someurl/{{str}}">Text</a>
I hope it helps!
CodePudding user response:
You can try it also
<a routerLink="/edit/{{name}}" [queryParams]="{id: '1'}">Click Here</a>