There's this code snippet that I need to modify:
@Component({
selector: 'control-messages',
inputs: ['controlName: control'],
template: `<div *ngIf="errorMessage !== null">{{errorMessage}}</div>`
})
Is there a way for me to change it to use the @Input() property decorator instead?