Categories of Metadata Used by @NgModule Decorator

Let's get into the details of categories of metadata that the '@NgModule' decorator uses.

Categories of metadata

When the Angular CLI creates a new application, it generates a single NgModule file for us. This file is always called app.module.ts and looks like this:

Get hands-on with 1200+ tech skills courses.