The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Create a Basic Angular 2 ngModel Input

Create a Basic Angular 2 ngModel Input

1:39
ngModel is a very powerful feature of Angular 2, but it isn’t enabled by default. You need to import the Angular 2 `FormsModule` and use the proper syntax around the `ngModel` directive to enable the features (such as automatically updating from an ngModel) that you would expect.
Watch this lesson now
Avatar
egghead.io

ngModel is a very powerful feature of Angular 2, but it isn’t enabled by default. You need to import the Angular 2 FormsModule and use the proper syntax around the ngModel directive to enable the features (such as automatically updating from an ngModel) that you would expect.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?