Added 'app.ts' test file to doc-shredder tests

This commit is contained in:
Ward Bell 2015-08-11 13:02:01 -07:00 committed by YuCheng Hu
parent d67f728b20
commit 6fd005bcf9
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
// #docregion
// #docregion import
import {Component, View, bootstrap} from 'angular2/angular2';
// #enddocregion
// #docregion class-w-annotations
@Component({
selector: 'my-app'
})
@View({
template: '<h1 id="output">My First Angular 2 App</h1>'
})
// #docregion class
class AppComponent {
}
// #enddocregion
// #enddocregion
// #docregion bootstrap
bootstrap(AppComponent);
// #enddocregion
// #enddocregion