11 lines
137 B
Markdown
11 lines
137 B
Markdown
|
```
|
||
|
@Component({
|
||
|
selector: 'my-app'
|
||
|
})
|
||
|
@View({
|
||
|
template: '<h1 id="output">My First Angular 2 App</h1>'
|
||
|
})
|
||
|
class AppComponent {
|
||
|
}
|
||
|
|
||
|
```
|