promiseFrom$http

Returns a standard $q promise from an $http promise that can be handled using standard .then() handlers.

This method wraps an $http promise into $q then() call by handling the .then() call with the same signatures as $http.success() and $http.error().

ww.angular.promiseFrom$http($q,$http)

Parameters

$q

$http


See also:

Class ww

© West Wind Technologies, 1996-2022 • Updated: 03/31/15
Comment or report problem with topic