Object describing the request to be made and how it should be processed. see http://docs.angularjs.org/api/ng/service/$http#usage
{boolean|Cache} If true, a default $http cache will be used to cache the GET request, otherwise if a cache instance built with $cacheFactory, this cache will be used for caching.
{string|Object} Data to be sent as the request message data.
Map of strings or functions which return strings representing HTTP headers to send to the server. If the return value of a function is null, the header will not be sent.
HTTP method (e.g. 'GET', 'POST', etc)
{Object.
See requestType.
{number|Promise} Timeout in milliseconds, or promise that should abort the request when resolved.
{function(data, headersGetter)|Array.
{function(data, headersGetter)|Array.
Absolute or relative URL of the resource that is being requested.
whether to to set the withCredentials flag on the XHR object. See [requests with credentials]https://developer.mozilla.org/en/http_access_control#section_5 for more information.
Name of cookie containing the XSRF token.
Name of HTTP header to populate with the XSRF token.