I see in primeng components the use something like ngModel (two-way data binding) style for some property like this
[(selection)]="selectedItem";
it 's look like
@Input() selection;
@Output() selection:EventEmitter<any> = new EventEmitter<any>();
how I can implement something like this and is it possible to do for more than single property like
<component-a [(selection)]="selectedItem" [(data)]="selectedData"></component-a>