2015-12-10 18:29:14 -08:00
|
|
|
// #docregion
|
|
|
|
// #docregion import
|
2016-05-03 14:06:32 +02:00
|
|
|
import { Component } from '@angular/core';
|
2015-12-10 18:29:14 -08:00
|
|
|
// #enddocregion import
|
|
|
|
|
|
|
|
// #docregion metadata
|
|
|
|
@Component({
|
2016-04-27 11:28:22 -07:00
|
|
|
selector: 'my-app',
|
2016-09-20 05:24:40 +02:00
|
|
|
template: '<h1>My First Angular App</h1>'
|
2015-12-10 18:29:14 -08:00
|
|
|
})
|
|
|
|
// #enddocregion metadata
|
2016-05-14 17:40:52 -07:00
|
|
|
// #docregion class
|
2015-12-10 18:29:14 -08:00
|
|
|
export class AppComponent { }
|
2016-05-14 17:40:52 -07:00
|
|
|
// #enddocregion class
|