mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
- 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
7 lines
162 B
Text
7 lines
162 B
Text
load("//aio/content/examples:examples.bzl", "docs_example")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
docs_example(
|
|
name = "injection-token",
|
|
)
|