Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created October 8, 2017 16:21
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 NMZivkovic/baa06f8e4a4bde2d10545aa987a67dfe to your computer and use it in GitHub Desktop.
Save NMZivkovic/baa06f8e4a4bde2d10545aa987a67dfe to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { HttpModule } from '@angular/http';
import { UserComponent } from './users/users.component';
import { UserService } from './services/users.service';
@NgModule({
declarations: [
AppComponent,
UserComponent,
],
imports: [
BrowserModule,
HttpModule,
FormsModule
],
providers: [
UserService
],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment