Which file is the root module of an Angular application?

  1. main.ts
  2. index.html
  3. app.module.ts
  4. app.component.ts
Correct answer app.module.ts

Explanation

app.module.ts is the root module that bootstraps the Angular app.

By Admin · · 22 views