angular/packages/examples
2025-07-29 12:17:45 +00:00
..
common build: remove rules_nodejs based protractor tooling (#62649) 2025-07-16 16:39:49 -04:00
core build: remove all usages of the interop_deps attr for ts_project and ng_project (#62732) 2025-07-21 13:03:09 -04:00
forms build: remove all usages of the interop_deps attr for ts_project and ng_project (#62732) 2025-07-21 13:03:09 -04: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 build: remove all usages of the interop_deps attr for ts_project and ng_project (#62732) 2025-07-21 13:03:09 -04:00
router docs: fix ActivateRoute example (#62855) 2025-07-29 12:17:45 +00:00
service-worker build: remove all usages of the interop_deps attr for ts_project and ng_project (#62732) 2025-07-21 13:03:09 -04:00
test-utils build: migrate examples to use rules_js (#61650) 2025-05-26 11:00:59 +00:00
testing build: migrate examples to use rules_js (#61650) 2025-05-26 11:00:59 +00:00
upgrade build: remove all usages of the interop_deps attr for ts_project and ng_project (#62732) 2025-07-21 13:03:09 -04:00
BUILD.bazel build: migrate examples to use rules_js (#61650) 2025-05-26 11:00:59 +00:00
index.html refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
README.md build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -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)
yarn bazel run //packages/examples/common:devserver

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

Running the tests

yarn bazel test //packages/examples/...