Skip to content
masterclass Buddy

Angular · Directive

ngModel

NgModel creates a FormControl for a form element and connects the view with a model. It can register with a parent form or work as a standalone control.

Last updated

Syntax

class NgModel extends NgControl implements OnChanges, OnDestroy { ... }

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • FormControl
  • NgForm
  • NgModelGroup
  • FormsModule
  • ControlValueAccessor
  • ValidatorFn

Source: NgModel • Angular. Checked 2026-11-03.