File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -345,9 +345,9 @@ function $HttpProvider() {
345345 * Configure `$http` service to return promises without the shorthand methods `success` and `error`.
346346 * This should be used to make sure that applications work without these methods.
347347 *
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.
349349 *
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.
351351 *
352352 * @returns {boolean|Object } If a value is specified, returns the $httpProvider for chaining.
353353 * otherwise, returns the current configured value.
You can’t perform that action at this time.
0 commit comments