12 lines
220 B
Markdown
Raw Normal View History

```
function AppComponent () {}
AppComponent.annotations = [
new ng.ComponentAnnotation({
selector: 'my-app'
}),
new ng.ViewAnnotation({
template: '<h1 id="output">My First Angular 2 App</h1>'
})
];
```