Created
January 13, 2017 19:19
-
-
Save scionwest/10c0b402e831df7ea14643f82bff9a8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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