diff --git a/aio/content/guide/dependency-injection-context.md b/aio/content/guide/dependency-injection-context.md index 1c4227a53b2..2dfbb87110b 100644 --- a/aio/content/guide/dependency-injection-context.md +++ b/aio/content/guide/dependency-injection-context.md @@ -1,6 +1,6 @@ # Injection context -The dependency injection (DI) system relies internaly on a runtime context where the current injector is available. +The dependency injection (DI) system relies internally on a runtime context where the current injector is available. This means that injectors can only work when code is executed in this context. The injection context is available in these situations: @@ -9,7 +9,7 @@ The injection context is available in these situations: * In the initializer for fields of such classes. * In the factory function specified for `useFactory` of a `Provider` or an `@Injectable`. * In the `factory` function specified for an `InjectionToken`. -* Within a stack frame that is run in a injection context. +* Within a stack frame that is run in an injection context. Knowing when your are in an injection context, will allow you to use the [`inject`](api/core/inject) function to inject instances. @@ -60,4 +60,4 @@ Calling [`inject`](api/core/inject) or calling `assertInInjectionContext` outsid -@reviewed 2023-04-11 \ No newline at end of file +@reviewed 2023-04-11