Creates a FormControl instance from a domain model and binds it to a form control element.
FormControl
class NgModel extends NgControl implements OnChanges ,OnDestroy { readonly control: FormControl<any>; viewModel: any; @Input() name: string; @Input('disabled') isDisabled: boolean; @Input('ngModel') model: any; @Input('ngModelOptions') options: { name?: string | undefined; standalone?: boolean | undefined; updateOn?: FormHooks | undefined; }; @Output('ngModelChange') update: EventEmitter<any>; readonly path: string[]; readonly formDirective: any; viewToModelUpdate(newValue: any): void; override valueAccessor: ControlValueAccessor | null; override readonly value: any; override readonly valid: boolean | null; override readonly invalid: boolean | null; override readonly pending: boolean | null; override readonly disabled: boolean | null; override readonly enabled: boolean | null; override readonly errors: ValidationErrors | null; override readonly pristine: boolean | null; override readonly dirty: boolean | null; override readonly touched: boolean | null; override readonly status: string | null; override readonly untouched: boolean | null; override readonly statusChanges: Observable<any> | null; override readonly valueChanges: Observable<any> | null; override readonly validator: ValidatorFn | null; override readonly asyncValidator: AsyncValidatorFn | null; override reset(value?: any): void; override hasError(errorCode: string, path?: string | (string | number)[] | undefined): boolean; override getError(errorCode: string, path?: string | (string | number)[] | undefined): any; static ngAcceptInputType_isDisabled: string | boolean;}