fc1bc0e0e8
The `Injector.create(providers, ...)` overload has been deprecated. The examples now use the `Injector.create(options)` overload. PR Close #42006 |
||
---|---|---|
.. | ||
common | ||
compiler | ||
core | ||
forms | ||
http | ||
platform-browser | ||
router/activated-route | ||
service-worker | ||
test-utils | ||
testing | ||
upgrade | ||
BUILD.bazel | ||
README.md | ||
index.html | ||
tsconfig-e2e.json |
README.md
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/...