Skip to content

Instantly share code, notes, and snippets.

@Bolza
Created February 25, 2016 14:14
Show Gist options
  • Save Bolza/131af7bb100b1fa5439b to your computer and use it in GitHub Desktop.
Save Bolza/131af7bb100b1fa5439b to your computer and use it in GitHub Desktop.
NG2 Quick Hello World
/// <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