Skip to content

Instantly share code, notes, and snippets.

@israeljrs
Created September 20, 2017 20:17
Show Gist options
  • Save israeljrs/ac52d8417f27b29e7886ff7a85556450 to your computer and use it in GitHub Desktop.
Save israeljrs/ac52d8417f27b29e7886ff7a85556450 to your computer and use it in GitHub Desktop.
app.modules.ts to angular material 2
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { MdButtonModule, MdToolbarModule, MdCardModule, MdIconModule, MdMenuModule } from '@angular/material';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
MdButtonModule,
MdToolbarModule,
MdCardModule,
MdIconModule,
MdMenuModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment