mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
9 lines
339 B
TypeScript
9 lines
339 B
TypeScript
import {Component, Inject} from '@angular/core';
|
|
import {FORM_DIRECTIVES} from '@angular/common';
|
|
import {MyComp} from './a/multiple_components';
|
|
|
|
@Component({selector: 'basic', templateUrl: './basic.html', directives: [MyComp, FORM_DIRECTIVES]})
|
|
export class Basic {
|
|
ctxProp: string;
|
|
constructor() { this.ctxProp = 'initiaValue'; }
|
|
}
|