Module 06 of 10

Routing & Navigation

Lessons

About This Module

Most real apps have more than one screen. Angular's Router maps URLs to components, so users can move between pages without a full reload while the browser's address bar, back button, and bookmarks keep working.

It starts with defining a routes array, registering it with provideRouter, and showing the matched component in a router-outlet. From there it covers navigating with routerLink and the Router service, reading route and query parameters for dynamic pages, and nested (child) routes for layouts that live inside other pages. Lazy loading with loadChildren and loadComponent is also worth knowing about.

Some of these videos were recorded for earlier Angular versions, so they may show RouterModule and NgModules where newer code uses standalone components and provideRouter. The ideas behind routing are the same. Watch the lessons in order, then continue on to Forms & Validation.

Lessons

4 videos
01

Build a Full Angular Application, Episode 4: Routing and Navigation

Integrates the Angular Router to enable navigation between different parts of the application, including how to define routes and use the router outlet.

02

Routing in Angular 17 with Standalone Components: Beginner's Guide

A simple walkthrough of setting up routing in an Angular 17 app built with standalone components.

03

Master Angular Routing Without NgModules: Router Standalone API

A beginner-friendly look at the standalone Router API from Angular 14 and 17, which replaces module-based routing setup.

04

Angular 16 Tutorial: Routing with Dynamic and Nested Routes

Covers static, dynamic, and nested routing, plus passing query parameters between pages.