From 76dbb6e395040742e7ca7be4b6d6d397bf5a7006 Mon Sep 17 00:00:00 2001 From: cgwyllie Date: Thu, 13 Feb 2014 09:38:10 +0000 Subject: docs($http): fix auth default headers example --- src/ng/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ng/http.js b/src/ng/http.js index 9fcb4578..a7a15d7e 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -277,7 +277,7 @@ function $HttpProvider() { * * ``` * module.run(function($http) { - * $http.defaults.headers.common.Authentication = 'Basic YmVlcDpib29w' + * $http.defaults.headers.common.Authorization = 'Basic YmVlcDpib29w' * }); * ``` * -- cgit v1.2.3