8 lines
170 B
TypeScript
8 lines
170 B
TypeScript
|
import { Component } from '@angular/core';
|
||
|
@Component({
|
||
|
selector: 'my-app',
|
||
|
template: '<h1 id="output">My First Angular 2 App</h1>'
|
||
|
})
|
||
|
export class AppComponent { }
|
||
|
|