import {Component} from 'angular2/core'; import {bootstrap} from 'angular2/platform/browser'; @Component({ selector: 'hello-app', template: `

Hello, {{name}}!

` }) export class HelloCmp { name = 'World'; } bootstrap(HelloCmp);