angular-cn/integration/language_service_plugin/project/app/app.component.ts

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'; }