Key app parts

After having used Angular CLI and its basic command set, let's review the key parts of the app you just created.

  • main.ts: This is the main entry point, which takes care of bootstrapping the entire application:
 platformBrowserDynamic().bootstrapModule(AppModule)   .catch(err => console.log(err));
As you can see, the code uses a browser-compliant mechanism to bootstrap the specified root application module.
  • app.module.ts: This is the root application module, which contains the app-level functional units. While modules are explained in detail in the Modules section, pay close attention to the fact that this module currently declares a specific component, the AppComponent.
  • app.component.ts: This is the root application component ...

Get Hands-On Full-Stack Web Development with ASP.NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.