mirror of
https://github.com/lucaspalomodevelop/angular-tutorials.git
synced 2026-03-13 06:29:38 +00:00
17 lines
537 B
TypeScript
17 lines
537 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { FormsModule } from '@angular/forms'; // <-- NgModel lives here
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppComponent } from './app.component';
|
|
import { HeroesComponent } from './heroes/heroes.component';
|
|
|
|
@NgModule({
|
|
declarations: [AppComponent],
|
|
imports: [HeroesComponent, BrowserModule, AppRoutingModule, FormsModule],
|
|
providers: [],
|
|
bootstrap: [AppComponent],
|
|
})
|
|
export class AppModule {}
|