86104b82b8
Injectable defs are not considered public API, so the property that contains them should be prefixed with Angular's marker for "private" ('ɵ') to discourage apps from relying on def APIs directly. This commit adds the prefix and shortens the name from ngInjectableDef to "prov" (for "provider", since injector defs are known as "inj"). This is because property names cannot be minified by Uglify without turning on property mangling (which most apps have turned off) and are thus size-sensitive. PR Close #33151 |
||
---|---|---|
.. | ||
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/...