2017-03-01 16:22:46 -05:00
|
|
|
import { Component } from '@angular/core';
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'my-app',
|
2019-04-25 13:50:19 -04:00
|
|
|
template: `<h1>Hello {{name}}</h1><my-widget></my-widget>`,
|
2017-03-01 16:22:46 -05:00
|
|
|
})
|
|
|
|
export class AppComponent { name = 'Angular'; }
|