Skip to content

Commit

Permalink
fix(dependencies): add http module to imports
Browse files Browse the repository at this point in the history
Fixes #80
  • Loading branch information
UncleDave committed Jun 29, 2017
1 parent 7f9390b commit 24ee042
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/image-upload.module.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import {NgModule, ModuleWithProviders} from "@angular/core";
import {ImageUploadComponent} from "./image-upload/image-upload.component";
import {FileDropDirective} from "./file-drop.directive";
import {CommonModule} from "@angular/common";
import {ImageService} from "./image.service";

import { CommonModule } from '@angular/common';
import { ModuleWithProviders, NgModule } from '@angular/core';
import { HttpModule } from '@angular/http';
import { FileDropDirective } from './file-drop.directive';
import { ImageUploadComponent } from './image-upload/image-upload.component';
import { ImageService } from './image.service';

@NgModule({
imports: [ CommonModule ],
imports: [
CommonModule,
HttpModule
],
declarations: [
ImageUploadComponent,
FileDropDirective
Expand Down

0 comments on commit 24ee042

Please sign in to comment.