Error: StaticInjectorError(AppModule)[MyApp -> AuthService]:
StaticInjectorError(Platform: core)[MyApp -> AuthService]:
NullInjectorError: No provider for AuthService!
at NullInjector.get (http://localhost:8100/build/vendor.js:1376:19)
at resolveToken (http://localhost:8100/build/vendor.js:1674:24)
at tryResolveToken (http://localhost:8100/build/vendor.js:1616:16)
at StaticInjector.get (http://localhost:8100/build/vendor.js:1484:20)
at resolveToken (http://localhost:8100/build/vendor.js:1674:24)
at tryResolveToken (http://localhost:8100/build/vendor.js:1616:16)
at StaticInjector.get (http://localhost:8100/build/vendor.js:1484:20)
at resolveNgModuleDep (http://localhost:8100/build/vendor.js:11228:25)
at NgModuleRef.get (http://localhost:8100/build/vendor.js:12461:16)
at resolveDep (http://localhost:8100/build/vendor.js:12951:45)
iam having this error… i did import the authservice and put it also in the providers but this appears… how do i solve this?