19 lines
503 B
Markdown
19 lines
503 B
Markdown
|
```
|
||
|
var angular2_1 = require('angular2/angular2');
|
||
|
var AppComponent = (function () {
|
||
|
function AppComponent() {
|
||
|
}
|
||
|
AppComponent = __decorate([
|
||
|
angular2_1.Component({
|
||
|
selector: 'my-app'
|
||
|
}),
|
||
|
angular2_1.View({
|
||
|
template: '<h1 id="output">My first Angular 2 App</h1>'
|
||
|
}),
|
||
|
__metadata('design:paramtypes', [])
|
||
|
], AppComponent);
|
||
|
return AppComponent;
|
||
|
})();
|
||
|
angular2_1.bootstrap(AppComponent);
|
||
|
//# sourceMappingURL=main.js.map
|
||
|
```
|