What is the purpose of NgModule in Angular?

  1. To define a component
  2. To manage dependencies
  3. To organize application parts
  4. To handle HTTP requests
Correct answer To organize application parts

Explanation

NgModule helps organize components, directives, pipes, and services.

By Admin · · 26 views