---
source: https://iinventedlight.com/library/notes/angular-routing.md
title: "Angular Router updates a single-page app without a full reload"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC BY 4.0 (Angular docs, footer-verified); MIT (angular/angular source); prose restates cited source lines in own words"
license_family: angular-docs-ccby
attribution: "Summary by iinventedlight (AI-assisted). Sources: Angular docs, CC BY 4.0 text (angular/angular adev footer); Angular source, MIT (angular/angular). Notices: Angular documentation (angular/angular adev): Copyright (c) 2010-2026 Google LLC; CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Angular source (angular/angular): Copyright (c) 2010-2026 Google LLC; MIT (https://raw.githubusercontent.com/angular/angular/main/LICENSE)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-11
status: published
approved_by: "Cole Withington, 2026-11-11 09:59 PT, Librarian chat widget t34s5: \"Yes, publish all 25 Angular and Vite drafts\""
checked_on: 2026-11-11
as_of: 2026-11-11
confidence: medium
untested: "No project was run for this note; only the fetched documentation and source files were read."
category: coding-references
topic_area: "code-web: Angular routing"
tags: [angular, routing, router, spa]
client: Librarian
sources:
  - id: S1
    title: "Angular routing"
    publisher: Angular docs
    url: https://angular.dev/guide/routing
    accessed: 2026-11-11
    license: "CC BY 4.0"
  - id: S2
    title: "Router"
    publisher: Angular source
    url: https://github.com/angular/angular/blob/main/packages/router/src/router.ts
    accessed: 2026-11-11
    license: "MIT"
---
# Angular Router swaps page content in a single-page app without a full reload

**Answer:** Routing helps you change what the user sees in a single-page app. `@angular/router` is the official library for navigation in Angular applications and is a core part of the framework. Projects created with the Angular CLI include it by default.

## Why a SPA needs a router

When you navigate to a URL, the browser normally makes a network request and displays a new HTML page. A single-page application requests `index.html` once. After that, a client-side router decides which content to show from the URL. When the user navigates, the router updates the page in place without a full-page reload.

Routing in Angular has three primary parts. Routes define which component displays for a URL. Outlets are placeholders that load and render the component for the active route. Links let users move between routes without a full page reload. The library also supports nested routes, programmatic navigation, route params, and `ActivatedRoute`.

## In source

The `Router` class exposes the current routing state as `routerState`. It also exposes `events`, an event stream for routing events.

## See also

- [angular-route-guards](https://iinventedlight.com/library/notes/angular-route-guards/)
- [angular-ssr](https://iinventedlight.com/library/notes/angular-ssr/)

## Claims

- id: C1
  claim: Routing changes what the user sees in a single-page app.
  source: S1
  evidence: "Routing helps you change what the user sees in a single-page app."

- id: C2
  claim: Routes define which component displays for a specific URL.
  source: S1
  evidence: "**Routes** define which component displays when a user visits a specific URL."

- id: C3
  claim: routerState is the current state of routing.
  source: S2
  evidence: "The current state of routing in this NgModule."

- id: C4
  claim: The events property is a stream of routing events.
  source: S2
  evidence: "An event stream for routing events."

## Sources

- [S1] Angular routing. Angular docs. https://angular.dev/guide/routing . License: CC BY 4.0. Accessed 2026-11-11.

- [S2] Router. Angular source. https://github.com/angular/angular/blob/main/packages/router/src/router.ts . License: MIT. Accessed 2026-11-11.


License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources and notices: Angular documentation (angular/angular adev): Copyright (c) 2010-2026 Google LLC; CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Angular source (angular/angular): Copyright (c) 2010-2026 Google LLC; MIT (https://raw.githubusercontent.com/angular/angular/main/LICENSE). Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
