I want ask some question about routing and navigating in angular CLI v1.6.8
In HTML, we can use:
<p id="my_id">Hello World</p>
<a href="#my_id">Link</a>
How to use it in routerLink? I can't use href because I want to make SPA
Thanks before
I want ask some question about routing and navigating in angular CLI v1.6.8
In HTML, we can use:
<p id="my_id">Hello World</p>
<a href="#my_id">Link</a>
How to use it in routerLink? I can't use href because I want to make SPA
Thanks before
It will depend on the router you are using, you can use UI Router for angular 1.X routing if you are using UI router you have "ui-sref" to use instead of href.