I\'m creating a custom element in Angular 2.0 (
), and when I include the ngModel attribute on the component, I\'m immediately hit with the foll
>=RC.5
@NgModule({
imports: [BrowserModule, FormsModule, ReativeFormsModule],
FormsModule
and/or ReativeFormsModule
depending on whether you use template driven forms, model driven forms or both
See also