File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -345,9 +345,9 @@ function $HttpProvider() {
345
345
* Configure `$http` service to return promises without the shorthand methods `success` and `error`.
346
346
* This should be used to make sure that applications work without these methods.
347
347
*
348
- * Defaults to false . If no value is specified, returns the current configured value.
348
+ * Defaults to true . If no value is specified, returns the current configured value.
349
349
*
350
- * @param {boolean= } value If true, `$http` will return a normal promise without the `success` and `error` methods.
350
+ * @param {boolean= } value If true, `$http` will return a promise with the deprecated legacy `success` and `error` methods.
351
351
*
352
352
* @returns {boolean|Object } If a value is specified, returns the $httpProvider for chaining.
353
353
* otherwise, returns the current configured value.
You can’t perform that action at this time.
0 commit comments