FrontendDeveloper.in

Angular question detail

What are router links?

The RouterLink is a directive on the anchor tags give the router control over those elements. Since the navigation paths are fixed, you can assign string values to router-link directive as below,

<h1>Angular Router</h1>
<nav>
</nav>
<router-outlet></router-outlet>
Back to all Angular questions
Get LinkedIn Premium at Rs 399