$templateRequestProvider.httpOptions()

httpOptions([value]);

The options to be passed to the $http service when making the request. You can use this to override options such as the "Accept" header for template requests.

The $templateRequest will set the cache and the transformResponse properties of the options if not overridden here.

Parameters

Param Type Details
value
(optional)
string

new value for the $http options.

Returns

stringself

Returns the $http options when used as getter and self if used as setter.

doc_AngularJS
2016-03-29 16:10:50
Comments
Leave a Comment

Please login to continue.