Merge pull request #88 from LeoMartinDev/master

Use HttpClientModule
This commit is contained in:
Maxime GRIS
2017-12-03 09:23:22 +01:00
committed by GitHub

View File

@@ -4,7 +4,7 @@ import 'polyfills';
import { BrowserModule } from '@angular/platform-browser'; import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http'; import { HttpClientModule } from '@angular/common/http';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
import { HomeComponent } from './components/home/home.component'; import { HomeComponent } from './components/home/home.component';
@@ -21,7 +21,7 @@ import { ElectronService } from './providers/electron.service';
imports: [ imports: [
BrowserModule, BrowserModule,
FormsModule, FormsModule,
HttpModule, HttpClientModule,
AppRoutingModule AppRoutingModule
], ],
providers: [ElectronService], providers: [ElectronService],