Files
Andrew Scott 8f3e1472ee refactor(router): run canMatch guards in root environment injector (g3-only)
Run Route.canMatch guards in the Router's root environment injector rather than the route injector in google3 so that route matching does not depend on route-level providers.

Gated behind `g3-only` / `3p-only` markers so 3p behavior remains unchanged until v23.

(cherry picked from commit 74e7cc94b7)
2026-11-13 19:28:03 +00:00
..
2025-11-06 10:03:05 -08:00
2025-11-06 10:03:05 -08:00

Angular Router

Managing state transitions is one of the hardest parts of building applications. This is especially true on the web, where you also need to ensure that the state is reflected in the URL. In addition, we often want to split applications into multiple bundles and load them on demand. Doing this transparently isn’t trivial.

The Angular router is designed to solve these problems. Using the router, you can declaratively specify application state, manage state transitions while taking care of the URL, and load components on demand.

Guide

Read the dev guide here.