angular-cn/public/docs/_examples/toh-3/ts/app/main.ts

6 lines
163 B
TypeScript

// #docregion pt1
import {bootstrap} from 'angular2/platform/browser';
import {AppComponent} from './app.component';
bootstrap(AppComponent);
// #enddocregion pt1