Created
December 7, 2016 12:05
-
-
Save debugmodedotnet/3495fa61c7277c9e8cc4bcebb8fedb4a to your computer and use it in GitHub Desktop.
Angular 2 component
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'; | |
@Component({ | |
selector: 'app-container', | |
template: `<h1>{{message}}</h1>` | |
}) | |
export class AppComponent { | |
message : string = "Hello World"; | |
constructor() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment