- /* These are JavaScript import statements. Angular doesn’t know anything about these. */
- import { BrowserModule } from '@angular/platform-browser';
- import { NgModule } from '@angular/core';
- import { AppComponent } from './app.component';
- /* The @NgModule decorator lets Angular know that this is an NgModule. */
- @NgModule({
- declarations: [
- AppComponent
- ],
- imports: [ /* These are NgModule imports. */
- BrowserModule
- ],
- providers: [],
- bootstrap: [AppComponent]
- })
- export class AppModule { }