I keep getting this error while using TypeScript\'s Angular2-forms framework:
There is no directive with \"exportAs\" set to \"ngForm
directive
Simple if you have not import module then import and declare import { FormsModule } from '@angular/forms';
and if you did then you just need to remove formControlName='whatever' from input fields.