diff options
| -rw-r--r-- | src/ng/http.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ng/http.js b/src/ng/http.js index 7dabfba1..970e42f1 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -251,7 +251,7 @@ function $HttpProvider() {       * To add or overwrite these defaults, simply add or remove a property from these configuration       * objects. To add headers for an HTTP method other than POST or PUT, simply add a new object       * with the lowercased HTTP method name as the key, e.g. -     * `$httpProvider.defaults.headers.get['My-Header']='value'`. +     * `$httpProvider.defaults.headers.get = { 'My-Header' : 'value' }.       *       * Additionally, the defaults can be set at runtime via the `$http.defaults` object in the same       * fashion. | 
