NgModel
NgModel
Stable Directive
What it does
Creates a FormControl
instance from a domain model and binds it to a form control element.
The FormControl
instance will track the value, user interaction, and validation status of the control and keep the view synced with the model. If used within a parent form, the directive will also register itself with the form as a child control.
How to use
This directive can be used by itself or as part of a larger form. All you need is the 登录查看完整内容