angular/packages/examples
Angular Robot 11767cabe4 build: update Jasmine to 6.0.0
Jasmine enables `forbidDuplicateNames: true` by default. So we also need to desambiguate duplicate spec names.
2026-02-09 12:15:57 -08:00
..
common ci: reformat files 2025-12-16 14:44:19 -08:00
core build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
forms ci: reformat files 2025-12-16 14:44:19 -08:00
http build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
injection-token docs(docs-infra): remove unused examples 2026-01-26 23:19:35 +00:00
platform-browser docs(docs-infra): remove unused examples 2026-01-26 23:19:35 +00:00
router refactor(common): update examples to align with Angular best practices 2025-11-19 14:29:49 -08:00
service-worker refactor(common): update examples to align with Angular best practices 2025-11-19 14:29:49 -08:00
test-utils build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
testing build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
upgrade ci: reformat files 2025-12-16 14:44:19 -08:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
index.html build: enable angular formatting on all html files 2025-12-08 10:19:45 -08:00
README.md build: format md files 2025-11-06 10:03:05 -08:00
tsconfig-e2e.json build: migrate examples to use rules_js (#61650) 2025-05-26 11:00:59 +00:00
tsconfig-test.json build: migrate examples to use rules_js (#61650) 2025-05-26 11:00:59 +00:00
tsconfig.json build: migrate examples to use rules_js (#61650) 2025-05-26 11:00:59 +00:00

API Examples

This folder contains small example apps that get in-lined into our API docs. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.

Running the examples

# Serving individual examples (e.g. common)
pnpm bazel run //packages/examples/common:devserver

# "core" examples
pnpm bazel run //packages/examples/core:devserver

Running the tests

pnpm bazel test //packages/examples/...