Reputation: 2440
In an angular html template how do I get the base url, in order to redirect the user to theproper page of the site?
example:
<a href="mybaseurl/SearchBooks">search books</a>
Upvotes: 0
Views: 303
Reputation: 639
Angular Router is used for navigation from one view to the next.
Upvotes: 1