1<app-my-control [(myProp)]="value"></app-my-control>
2
3
4@Input()
5myProp: string;
6
7// Output prop name must be Input prop name + 'Change'
8// Use in your component to write an updated value back out to the parent
9@Output()
10myPropChange = new EventEmitter<string>();
11