https://github.com/angular/angular
Raw File
Tip revision: 652ac79d639b340060919b38de18b22f68712c2a authored by Greg Magolan on 16 October 2018, 20:20:00 UTC
build: idiomatic install of @angular/bazel npm package (#26258)
Tip revision: 652ac79
app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';

import { AppComponent } from './app.component';
import { HeroesComponent } from './heroes/heroes.component';

@NgModule({
  declarations: [
    AppComponent,
    HeroesComponent
  ],
  imports: [
    BrowserModule,
    FormsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
back to top