Skip to content

Instantly share code, notes, and snippets.

@ladyleet
Created July 7, 2016 09:31
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 ladyleet/527bad8366f6e3de8d25752008d9fe21 to your computer and use it in GitHub Desktop.
Save ladyleet/527bad8366f6e3de8d25752008d9fe21 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
import { MD_BUTTON_DIRECTIVES } from '@angular2-material/button';
@Component({
moduleId: module.id,
selector: 'app-root',
templateUrl: 'app.component.html',
styleUrls: ['app.component.css'],
directives: [MD_BUTTON_DIRECTIVES],
template: `
<button md-raised-button color='primary'>this is a magical button</button>
`
})
export class AppComponent {
title = 'app works!';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment