angularjs - Cannot inject a service to a config.js of a textangular button in jhipster -
i tried inject service returns interceptor's method config using:
$injector.get()
but returns
"error: [$injector:unpr] unknown provider: tempservice".
i've tried adding dependencies this:
newprovide.$inject = ['$provide','$injector','tempservice']; // & function newprovide($provide,$injector,tempservice){ /* configurations */ }
Comments
Post a Comment