Sep 4, 2018 · 1 min read
Great Job. I am developing a similar solution but I encountered the following problem:
I need to import FormsModule in my plugin so in my app.component.ts I have:
import * as angularForms from “@angular/forms”;
SystemJS.set(‘@angular/forms’, SystemJS.newModule(angularForms))
But when I try to compile my plugin I get the error:
Error: Uncaught (in promise): Error: Unexpected value ‘he’ imported by the module ‘MauLibModule’. Please add a @NgModule annotation