12 lines
239 B
TypeScript
12 lines
239 B
TypeScript
// #docregion
|
|
import { Component } from '@angular/core';
|
|
|
|
@Component({
|
|
moduleId: module.id,
|
|
selector: 'my-app',
|
|
templateUrl: 'app.component.html'
|
|
})
|
|
export class AppComponent {
|
|
birthday = new Date(1988, 3, 15); // April 15, 1988
|
|
}
|