angular/packages/examples
Kristiyan Kostadinov f5b50ec20d refactor: clean up explicit standalone flags from tests (#63963)
Since standalone is the default, we can dropn the `standalone: true` flags from our tests.

PR Close #63963
2025-09-22 14:27:34 +00:00
..
common build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
core refactor(core): Update tests for zoneless by default (#63668) 2025-09-09 14:41:56 -07:00
forms build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07: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: clean up explicit standalone flags from tests (#63963) 2025-09-22 14:27:34 +00:00
service-worker build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07: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 build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
index.html refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
README.md build: use pnpm as the package manager instead of yarn (#62924) 2025-07-31 22:06:27 +00: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/...