Use $httpProvider
to change the default behavior of the ng.$http $http service.
Configure $http service to combine processing of multiple http responses received at around the same time via ng.$rootScope.Scope#$applyAsync $rootScope.$applyAsync. This can result in significant performance improvement for bigger applications that make many HTTP requests concurrently (common during application bootstrap).
Defaults to false. If no value is specified, returns the current configured value.
If true, when requests are loaded, they will schedule a deferred "apply" on the next tick, giving time for subsequent requests in a roughly ~10ms window to load and share the same digest cycle.
If a value is specified, returns the $httpProvider for chaining. otherwise, returns the current configured value.
Use
$httpProvider
to change the default behavior of the ng.$http $http service.