Created
February 25, 2016 14:14
-
-
Save Bolza/131af7bb100b1fa5439b to your computer and use it in GitHub Desktop.
NG2 Quick Hello World
This file contains hidden or 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
/// <reference path="node_modules/angular2/ts/typings/node/node.d.ts"/> | |
/// <reference path="node_modules/angular2/typings/browser.d.ts"/> | |
import { bootstrap } from "angular2/platform/browser"; | |
import { Component } from "angular2/core"; | |
@Component({ | |
selector: 'hello-world', | |
template: <div> Hello World! </div> | |
}) | |
class HelloWorld { | |
} | |
bootstrap(HelloWorld); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment