Skip to content

Instantly share code, notes, and snippets.

@mmccall10
Last active September 27, 2017 16:15
Show Gist options
  • Save mmccall10/df7820ac19b6b768f046d0bd7fc719b6 to your computer and use it in GitHub Desktop.
Save mmccall10/df7820ac19b6b768f046d0bd7fc719b6 to your computer and use it in GitHub Desktop.
App module that includes the HttpModule
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { HttpClientModule } from '@angular/common/http';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpClientModule
],
providers: [
],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment