Skip to content

Glossary: Angular Basics

routerLink

Also written: RouterLink, routerLinkActive, RouterLinkActive

A directive that changes the URL and component without reloading the page, unlike a plain `href`. `routerLinkActive` adds a class to the link of the current page.

Where the book teaches it