I keep getting this error while using TypeScript\'s Angular2-forms framework:
There is no directive with \"exportAs\" set to \"ngForm
directive
You must import the FormsModule and then place it in the section of imports.
import { FormsModule } from '@angular/forms';