Skip to content

Instantly share code, notes, and snippets.

/app.module.ts Secret

Created January 19, 2018 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4a99ff422cd2e62feb5f46288946ca32 to your computer and use it in GitHub Desktop.
Save anonymous/4a99ff422cd2e62feb5f46288946ca32 to your computer and use it in GitHub Desktop.
import {HttpClientModule} from "@angular/common/http";
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
HttpClientModule //aquí
],
bootstrap: [AppComponent],
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment