Created
July 7, 2016 09:31
-
-
Save ladyleet/527bad8366f6e3de8d25752008d9fe21 to your computer and use it in GitHub Desktop.
This file contains 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 { 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