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

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -