Created
January 12, 2016 18:47
-
-
Save IEvangelist/7e7bce34b2d16557b686 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, OnInit} from "angular2/core"; | |
@Component({ | |
selector: "static", | |
templateUrl: "app/components/static.html" | |
}) | |
export class StaticComponent implements OnInit { | |
message: string; | |
constructor() { } | |
ngOnInit() { | |
this.message = "The 'static.html' was used as the Angular2 'templateUrl'. There is a 'message' property bound to the <blockqoute> element." | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment