mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
6b5c812b6b
- Emphasized the importance of using the same InjectionToken instance for both provider and injection call. - Added examples to illustrate correct usages to prevent NullInjectorError. PR Close #51386
8 lines
162 B
Python
8 lines
162 B
Python
load("//aio/content/examples:examples.bzl", "docs_example")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
docs_example(
|
|
name = "injection-token",
|
|
)
|