I keep getting this error while using TypeScript\'s Angular2-forms framework:
There is no directive with \"exportAs\" set to \"ngForm
directive
In my case, I forgot to add my component in the Declaration array of app.module.ts, and voila! the issue was fixed.