Skip to content

Instantly share code, notes, and snippets.

@evertonrobertoauler
Created March 26, 2017 17:41
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 evertonrobertoauler/ce5597fc30c42f2b6169d3cfe30771ca to your computer and use it in GitHub Desktop.
Save evertonrobertoauler/ce5597fc30c42f2b6169d3cfe30771ca to your computer and use it in GitHub Desktop.
src/app/app.module.ts
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';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule.withServerTransition({appId: 'cli-universal-demo'}),
FormsModule,
HttpModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment