Skip to content

Instantly share code, notes, and snippets.

@langan
Last active May 29, 2018 10:35
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 langan/a7c99a7e85aba908bb13a77dbc40e9e2 to your computer and use it in GitHub Desktop.
Save langan/a7c99a7e85aba908bb13a77dbc40e9e2 to your computer and use it in GitHub Desktop.
Angular Material Module
import { NgModule } from '@angular/core';
import { MatToolbarModule, MatCardModule, MatButtonModule } from '@angular/material';
const materialModules = [
MatToolbarModule,
MatCardModule,
MatButtonModule,
];
@NgModule({
imports: materialModules,
exports: materialModules
})
export class AppMaterialModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment