In Angular, the main.ts is the entry point of the application, which runs first when you render a page in Angular. It compiles the application with JIT and bootstraps the Angular application. In Angular 2, you can bootstrap multiple environments to import a module specific to the environment during which angular looks for a specific module to run first.

BY Best Interview Question ON 24 Jun 2020