I tried to import the http provider into a service, but I\'m getting the following error:
Cannot resolve all parameters for \'AppService\'(?). Make su
Another way to do it, which saves some typing in the future would be:
in your tsconfig.json add compilerOptions.emitDecoratorMetadata=true
tsconfig.json
compilerOptions.emitDecoratorMetadata=true
example of simple tsconfig.json would be:
{ "compilerOptions": { "emitDecoratorMetadata": true, "experimentalDecorators": true } }