mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
05eabb19d6
This is in preparation for more rigorous testing of external templates, since it'll work differently under the new tsserver plugin model. PR Close #30128
8 lines
193 B
TypeScript
8 lines
193 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'my-app',
|
|
template: `<h1>Hello {{name}}</h1><my-widget></my-widget>`,
|
|
})
|
|
export class AppComponent { name = 'Angular'; }
|