useLegacyPromiseExtensions([value]);
Configure $http service to return promises without the shorthand methods success and error. This should be used to make sure that applications work without these methods.
Defaults to true. If no value is specified, returns the current configured value.
Parameters
| Param | Type | Details |
|---|---|---|
| value (optional) | boolean | If true, |
Returns
booleanObject
|
If a value is specified, returns the $httpProvider for chaining. otherwise, returns the current configured value. |
Please login to continue.