Cheat Sheet Bootstrapping import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; platformBrowserDynamic ().bootstrapModule (AppModule); Bootstraps the app, using the root component from the specified NgModule . NgModules import { NgModule } from '@angular/core'; @ NgModule ({ declarations: ..., imports: ..., exports: ..., providers: ..., bootstrap: ...}) class MyModule {} Defines a module that contains components, directives, pipes, and providers. declarations: [MyRedComponent, MyBlueComponent, MyDatePipe] List of components, directives, and pipes that belong to this module. imports: [ BrowserModule , SomeOtherModule] List of modules to import into this module. Everything from the imported modules is available to declarations of this module. exports: [MyRedComponent, MyDatePipe] List of components, directives, and pipes visible to modules that import this module. providers: [MyService, { p...