function resolvePromise (response, status, headers, statusText) {
            // status: HTTP response status code, 0, -1 (aborted by timeout / promise)
            status = status >= -1 ? status : 0;
            (isSuccess(status) ? deferred.resolve : deferred.reject)({
              data: response,
              status: status,
              headers: headersGetter(headers),
              config: config,
              statusText: statusText
            });
          }
/**
           * Resolves the raw $http promise.
           */
Resolves the raw $http promise.
Resolves the raw $http promise .
function resolvePromise (response, status, headers, statusText) {
            status = status >= -1 ? status : 0;
            (isSuccess(status) ? deferred.resolve : deferred.reject)({
              data: response,
              status: status,
              headers: headersGetter(headers),
              config: config,
              statusText: statusText
            });
          }
function resolvePromise ( response , status , headers , statusText ) { status = status >= - 1 ? status : 0 ; ( isSuccess ( status ) ? deferred . resolve : deferred . reject ) ( { data : response , status : status , headers : headersGetter ( headers ) , config : config , statusText : statusText } ) ; }
Resolves the raw $http promise.
Resolves the raw $http promise .
// status: HTTP response status code, 0, -1 (aborted by timeout / promise)