mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
26 lines
753 B
TypeScript
26 lines
753 B
TypeScript
// #docplaster
|
|
// #docregion app-module
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
import { NgModule } from '@angular/core';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { AppComponent } from './app.component';
|
|
// import the feature module here so you can add it to the imports array below
|
|
import { CustomerDashboardModule } from './customer-dashboard/customer-dashboard.module';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
FormsModule,
|
|
HttpClientModule,
|
|
CustomerDashboardModule // add the feature module here
|
|
],
|
|
providers: [],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|
|
// #enddocregion app-module
|