Skip to content

Glossary: Angular Beyond the Basics

Injection context

Also written: NG0203

The places where Angular allows `inject()` and functions like `takeUntilDestroyed()` and `toSignal`: field initializers, constructors and guard functions, not ordinary methods.

Where the book teaches it

Related terms

inject()takeUntilDestroyed