Niestandardowy NGModel

<app-my-control [(myProp)]="value"></app-my-control>


@Input()
myProp: string;

// Output prop name must be Input prop name + 'Change'
// Use in your component to write an updated value back out to the parent
@Output()
myPropChange = new EventEmitter<string>();
Misty Mallard