标签: html angular href
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>
答案 0 :(得分:1)
Angular Router用于从一个视图导航到另一个视图。
答案 1 :(得分:0)
Routing example by w3school
这篇文章很好阅读,将清除您的所有疑问。