Defining the Routes

A route pairs a path with the component to show for it. List them in app.routes.ts, the home page at the empty path and a page-not-found route with ** last, because the router uses the first route that matches. A route can also set the page's title or redirect an old address.

Updated

Cheat sheet: Defining the Routes
Category
Angular
Level
Apprentice
Tags
angular, Route (angular), Wildcard Route