I am beginner for angular 2 and i want to append hashtag at end of URL just like below :
http://localhost:4200/detail#one
I have tried this :
<a [routerLink]="['/detail#one']" >Link</a>
but # is being converted to '%23' :
http://localhost:4200/detail%23one
How can we do this in angular 2 to get URL like :
http://localhost:4200/detail#one
Thanks