diff options
Diffstat (limited to 'src/service/xhr.js')
| -rw-r--r-- | src/service/xhr.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/service/xhr.js b/src/service/xhr.js index d34a37f2..d9c78fd6 100644 --- a/src/service/xhr.js +++ b/src/service/xhr.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$xhr + * @name angular.module.ng.$xhr * @function * @requires $browser $xhr delegates all XHR requests to the `$browser.xhr()`. A mock version * of the $browser exists which allows setting expectations on XHR requests @@ -12,14 +12,14 @@ * * @description * Generates an XHR request. The $xhr service delegates all requests to - * {@link angular.module.NG.$browser $browser.xhr()} and adds error handling and security features. + * {@link angular.module.ng.$browser $browser.xhr()} and adds error handling and security features. * While $xhr service provides nicer api than raw XmlHttpRequest, it is still considered a lower * level api in angular. For a higher level abstraction that utilizes `$xhr`, please check out the - * {@link angular.module.NG.$resource $resource} service. + * {@link angular.module.ng.$resource $resource} service. * * # Error handling * If no `error callback` is specified, XHR response with response code other then `2xx` will be - * delegated to {@link angular.module.NG.$xhr.error $xhr.error}. The `$xhr.error` can intercept the + * delegated to {@link angular.module.ng.$xhr.error $xhr.error}. The `$xhr.error` can intercept the * request and process it in application specific way, or resume normal execution by calling the * request `success` method. * @@ -98,7 +98,7 @@ * * - {number} code [HTTP status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes) of * the response. This will currently always be 200, since all non-200 responses are routed to - * {@link angular.module.NG.$xhr.error} service (or custom error callback). + * {@link angular.module.ng.$xhr.error} service (or custom error callback). * - {string|Object} response Response object as string or an Object if the response was in JSON * format. * @param {function(number, (string|Object))} error A function to be called if the response code is |
