February 2019
Intermediate to advanced
446 pages
10h 55m
English
Many other JavaScript frameworks use the main method for instantiating and wiring the different parts of the application. Angular does not have the main method. Though Angular uses a main file (src/main.ts), which just initiates the Bootstrap of the root module (AppModule) using the following code or the first important line called while loading an Angular application. After this, program control is passed to AppModule:
platformBrowserDynamic().bootstrapModule(AppModule)
Angular uses the module as an entry point due to the following reasons:
Read now
Unlock full access