Closed kudo183 closed 6 years ago
when I try to build package with class has DI parameter, for exmple the UnlessDirective from this https://angular.io/guide/structural-directives, I get this error message when run:
message: "StaticInjectorError[TemplateRef]: \n StaticInjectorError[TemplateRef]: \n NullInjectorError: No provider for TemplateRef!"
does it need some special config for DI ?
i had find how to config NgModule from https://angular.io/guide/ngmodule
when I try to build package with class has DI parameter, for exmple the UnlessDirective from this https://angular.io/guide/structural-directives, I get this error message when run:
message: "StaticInjectorError[TemplateRef]: \n StaticInjectorError[TemplateRef]: \n NullInjectorError: No provider for TemplateRef!"
does it need some special config for DI ?