NgModule

The older way of grouping Angular pieces and their dependencies; replaced by standalone components.

What is NgModule?

An NgModule is the older way of grouping components, directives and pipes and listing their dependencies. New code uses standalone components, but you will meet NgModules in older apps.

@NgModule({
  declarations: [RecipeCard],
  imports: [CommonModule],
  exports: [RecipeCard],
})
export class RecipesModule {}

Level: Freelancer · More Angular terms at this level

Updated