Skip to content

Instantly share code, notes, and snippets.

@scionwest
Created January 13, 2017 19:19
Show Gist options
  • Save scionwest/10c0b402e831df7ea14643f82bff9a8b to your computer and use it in GitHub Desktop.
Save scionwest/10c0b402e831df7ea14643f82bff9a8b 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 { HttpModule } from '@angular/http';
import { RouterModule, Routes } from '@angular/router';
import { MaterialModule } from '@angular/material';
import 'hammerjs';
import { AppComponent } from './app.component';
import { SignupComponent } from './signup/signup.component';
const appRoutes: Routes = [
{ path: 'signup', component: SignupComponent },
];
@NgModule({
declarations: [
AppComponent,
SignupComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
RouterModule.forRoot(appRoutes),
MaterialModule.forRoot()
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment