Skip to content

Instantly share code, notes, and snippets.

@matheuscas
Created January 30, 2017 03:07
Show Gist options
  • Save matheuscas/67d695d0d006fdddfc39ab3a89801c71 to your computer and use it in GitHub Desktop.
Save matheuscas/67d695d0d006fdddfc39ab3a89801c71 to your computer and use it in GitHub Desktop.
import { Service1 } from './service1.service';
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';
import { Component1Component } from './component1/component1.component';
@NgModule({
declarations: [
AppComponent,
Component1Component
],
imports: [
BrowserModule,
FormsModule,
HttpModule
],
providers: [Service1],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment