Providing the Router

An Angular app is a single page that shows different components for different addresses. The router reads the URL and shows the matching page component in <router-outlet>, without the browser loading a new page. ng new sets it all up for you.

Updated

Cheat sheet: Providing the Router
Category
Angular
Level
Apprentice
Tags
angular, Router (angular), Router Outlet