There is some problem with angular4 router.
I have created a list of menu items and i got object from back-end for router link creation, but if menuItem.link equals to mypath/example it will be replaced by angular to mypath%2Fexample if i clicked in this item.
So routing is not working because it cannot match any routes, because i have defined it for (mypath/example)
<a [routerLink]="['/', menuItem.link, menuItem.id]" routerLinkActive="active_link">
I have tried to add /* to router link but it still not working. Thanks for your answers.