
This rewrite changes headings to focus on user tasks rather than features, verifies that content is up-to-date and complete, removes colloquial phrases, adds prerequisites, and expands on a task-based section in the beginning (a quick reference). PR Close #35566
11 lines
469 B
HTML
11 lines
469 B
HTML
<h1>Angular Router App</h1>
|
|
<!-- This nav gives you links to click, which tells the router which route to use (defined in the routes constant in AppRoutingModule) -->
|
|
<nav>
|
|
<ul>
|
|
<li><a routerLink="/first-component" routerLinkActive="active">First Component</a></li>
|
|
<li><a routerLink="/second-component" routerLinkActive="active">Second Component</a></li>
|
|
</ul>
|
|
</nav>
|
|
<!-- The routed views render in the <router-outlet>-->
|
|
<router-outlet></router-outlet>
|