I want to know is this bug or specification that i can't find. In Angular 5, when I use routerLink like this
<button routerLink="/account/order/{{this.orderService.order._id}}/messages">Messages</button>
All works fine and I can route to URL /account/order/5aaaa0c6fd204609b3bd2577/messages
in my component.
But if I open Chrome DevTools (I try it in Firefox DevTools too) I see line like this:
<button _ngcontent-c4="" class="btn" tabindex="0" ng-reflect-router-link="/account/order/5aaaa0c6fd20460">Messages</button>
I tried to use different assigns for routerLink, but for all of that I got cutting real href (I put creating url string in component.ts and put only string variable in routerLink and other methods like [routerLink] creation). For first time it looks like ng-reflect-router-link
have not so much length.
But I try use simple string in href and in DevTools I see normal link like this:
<button _ngcontent-c4="" class="btn" routerlink="/123456789123456789123456789123456789123456789123456789123456789" tabindex="0" ng-reflect-router-link="/12345678912345678912345678912">Messages</button>
Anybody know, why I getting cutting real href? Maybe exist specialization or documentation for this behaviour or this looks like a bug and i need create issue on GitHub angular repo?