angular/packages/examples
Matthieu Riegler 6270bba056 ci: reformat files
This is after we've slightly changed a rule in #66056
2025-12-16 14:44:19 -08:00
..
common ci: reformat files 2025-12-16 14:44:19 -08:00
core ci: reformat files 2025-12-16 14:44:19 -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 refactor(docs-infra): update comments (#59004) 2024-12-04 18:05:59 +01:00
platform-browser refactor(bazel): reduce build deps (#63348) 2025-08-28 09:16:10 -07: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/...