A version of $http that does not trigger updates of the $rootScope
It behaves as $http
does, with all of its interceptors and so forth. However it does not trigger a digest of the $rootScope
. You can cause a targeted digest by passing scope
as an option.
crafttp({
method: 'GET',
scope: scope,
url: '/foo/bar'
}).then(function (result) { /** ... */ });