javascript - Unknown provider for $httpParamSerializer -
javascript - Unknown provider for $httpParamSerializer -
i came across angular.js service named $httpparamserializer
, thought useful code. however, when tried inject angular.js didn't recognize , threw "unknown provider" error.
isn't $httpparamserializer
built-in service (just $http
)? why happening?
i have no problem injecting other built-in services such $http
, $httpbackend
etc.
thanks.
it added in angular v1.4.0-rc.0. - so, check , prepare version of angular:
<script src="https://code.angularjs.org/1.4.0-rc.0/angular.js">
javascript angularjs
Comments
Post a Comment