diff options
Diffstat (limited to 'src/service')
| -rw-r--r-- | src/service/Browser.js | 44 | ||||
| -rw-r--r-- | src/service/compiler.js | 10 | ||||
| -rw-r--r-- | src/service/cookieStore.js | 14 | ||||
| -rw-r--r-- | src/service/cookies.js | 2 | ||||
| -rw-r--r-- | src/service/defer.js | 10 | ||||
| -rw-r--r-- | src/service/document.js | 2 | ||||
| -rw-r--r-- | src/service/exceptionHandler.js | 4 | ||||
| -rw-r--r-- | src/service/filter.js | 8 | ||||
| -rw-r--r-- | src/service/filter/filter.js | 4 | ||||
| -rw-r--r-- | src/service/filter/filters.js | 16 | ||||
| -rw-r--r-- | src/service/filter/limitTo.js | 4 | ||||
| -rw-r--r-- | src/service/filter/orderBy.js | 4 | ||||
| -rw-r--r-- | src/service/formFactory.js | 38 | ||||
| -rw-r--r-- | src/service/locale.js | 2 | ||||
| -rw-r--r-- | src/service/location.js | 56 | ||||
| -rw-r--r-- | src/service/log.js | 18 | ||||
| -rw-r--r-- | src/service/resource.js | 6 | ||||
| -rw-r--r-- | src/service/route.js | 42 | ||||
| -rw-r--r-- | src/service/routeParams.js | 6 | ||||
| -rw-r--r-- | src/service/scope.js | 130 | ||||
| -rw-r--r-- | src/service/sniffer.js | 2 | ||||
| -rw-r--r-- | src/service/window.js | 2 | ||||
| -rw-r--r-- | src/service/xhr.bulk.js | 2 | ||||
| -rw-r--r-- | src/service/xhr.cache.js | 6 | ||||
| -rw-r--r-- | src/service/xhr.error.js | 6 | ||||
| -rw-r--r-- | src/service/xhr.js | 10 |
26 files changed, 224 insertions, 224 deletions
diff --git a/src/service/Browser.js b/src/service/Browser.js index 073bc1e2..2e2c07e8 100644 --- a/src/service/Browser.js +++ b/src/service/Browser.js @@ -13,7 +13,7 @@ var XHR = window.XMLHttpRequest || function() { /** * @ngdoc object - * @name angular.module.NG.$browser + * @name angular.module.ng.$browser * @requires $log * @description * This object has two goals: @@ -21,7 +21,7 @@ var XHR = window.XMLHttpRequest || function() { * - hide all the global state in the browser caused by the window object * - abstract away all the browser specific features and inconsistencies * - * For tests we provide {@link angular.module.NG_MOCK.$browser mock implementation} of the `$browser` + * For tests we provide {@link angular.module.ngMock.$browser mock implementation} of the `$browser` * service, which can be used for convenient testing of the application without the interaction with * the real browser apis. */ @@ -75,8 +75,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * @ngdoc method - * @name angular.module.NG.$browser#xhr - * @methodOf angular.module.NG.$browser + * @name angular.module.ng.$browser#xhr + * @methodOf angular.module.ng.$browser * * @param {string} method Requested method (get|post|put|delete|head|json) * @param {string} url Requested url @@ -154,8 +154,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * @ngdoc method - * @name angular.module.NG.$browser#addPollFn - * @methodOf angular.module.NG.$browser + * @name angular.module.ng.$browser#addPollFn + * @methodOf angular.module.ng.$browser * * @param {function()} fn Poll function to add * @@ -194,8 +194,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * @ngdoc method - * @name angular.module.NG.$browser#url - * @methodOf angular.module.NG.$browser + * @name angular.module.ng.$browser#url + * @methodOf angular.module.ng.$browser * * @description * GETTER: @@ -208,7 +208,7 @@ function Browser(window, document, body, XHR, $log, $sniffer) { * Returns its own instance to allow chaining * * NOTE: this api is intended for use only by the $location service. Please use the - * {@link angular.module.NG.$location $location service} to change url. + * {@link angular.module.ng.$location $location service} to change url. * * @param {string} url New url (when used as setter) * @param {boolean=} replace Should new url replace current history record ? @@ -245,8 +245,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * @ngdoc method - * @name angular.module.NG.$browser#onUrlChange - * @methodOf angular.module.NG.$browser + * @name angular.module.ng.$browser#onUrlChange + * @methodOf angular.module.ng.$browser * @TODO(vojta): refactor to use node's syntax for events * * @description @@ -262,7 +262,7 @@ function Browser(window, document, body, XHR, $log, $sniffer) { * The listener gets called with new url as parameter. * * NOTE: this api is intended for use only by the $location service. Please use the - * {@link angular.module.NG.$location $location service} to monitor url changes in angular apps. + * {@link angular.module.ng.$location $location service} to monitor url changes in angular apps. * * @param {function(string)} listener Listener function to be called when url changes. * @return {function(string)} Returns the registered listener fn - handy if the fn is anonymous. @@ -295,8 +295,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * @ngdoc method - * @name angular.module.NG.$browser#cookies - * @methodOf angular.module.NG.$browser + * @name angular.module.ng.$browser#cookies + * @methodOf angular.module.ng.$browser * * @param {string=} name Cookie name * @param {string=} value Cokkie value @@ -356,8 +356,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * @ngdoc method - * @name angular.module.NG.$browser#defer - * @methodOf angular.module.NG.$browser + * @name angular.module.ng.$browser#defer + * @methodOf angular.module.ng.$browser * @param {function()} fn A function, who's execution should be defered. * @param {number=} [delay=0] of milliseconds to defer the function execution. * @returns {*} DeferId that can be used to cancel the task via `$browser.defer.cancel()`. @@ -385,8 +385,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * THIS DOC IS NOT VISIBLE because ngdocs can't process docs for foo#method.method * - * @name angular.module.NG.$browser#defer.cancel - * @methodOf angular.module.NG.$browser.defer + * @name angular.module.ng.$browser#defer.cancel + * @methodOf angular.module.ng.$browser.defer * * @description * Cancels a defered task identified with `deferId`. @@ -411,8 +411,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * @ngdoc method - * @name angular.module.NG.$browser#addCss - * @methodOf angular.module.NG.$browser + * @name angular.module.ng.$browser#addCss + * @methodOf angular.module.ng.$browser * * @param {string} url Url to css file * @description @@ -429,8 +429,8 @@ function Browser(window, document, body, XHR, $log, $sniffer) { /** * @ngdoc method - * @name angular.module.NG.$browser#addJs - * @methodOf angular.module.NG.$browser + * @name angular.module.ng.$browser#addJs + * @methodOf angular.module.ng.$browser * * @param {string} url Url to js file * diff --git a/src/service/compiler.js b/src/service/compiler.js index 56ec82e2..781d7b3a 100644 --- a/src/service/compiler.js +++ b/src/service/compiler.js @@ -79,12 +79,12 @@ function $CompileProvider(){ /** * @ngdoc function - * @name angular.module.NG.$compile + * @name angular.module.ng.$compile * @function * * @description * Compiles a piece of HTML string or DOM into a template and produces a template function, which - * can then be used to link {@link angular.module.NG.$rootScope.Scope scope} and the template together. + * can then be used to link {@link angular.module.ng.$rootScope.Scope scope} and the template together. * * The compilation is a process of walking the DOM tree and trying to match DOM elements to * {@link angular.markup markup}, {@link angular.attrMarkup attrMarkup}, @@ -117,7 +117,7 @@ function $CompileProvider(){ * @returns {function(scope[, cloneAttachFn])} a template function which is used to bind template * (a DOM element/tree) to a scope. Where: * - * * `scope` - A {@link angular.module.NG.$rootScope.Scope Scope} to bind to. + * * `scope` - A {@link angular.module.ng.$rootScope.Scope Scope} to bind to. * * `cloneAttachFn` - If `cloneAttachFn` is provided, then the link function will clone the * `template` and call the `cloneAttachFn` function allowing the caller to attach the * cloned elements to the DOM document at the appropriate place. The `cloneAttachFn` is @@ -136,14 +136,14 @@ function $CompileProvider(){ * bring the view to life, the scope needs to run through a $digest phase which typically is done by * Angular automatically, except for the case when an application is being * {@link guide/dev_guide.bootstrap.manual_bootstrap} manually bootstrapped, in which case the - * $digest phase must be invoked by calling {@link angular.module.NG.$rootScope.Scope#$apply}. + * $digest phase must be invoked by calling {@link angular.module.ng.$rootScope.Scope#$apply}. * * If you need access to the bound view, there are two ways to do it: * * - If you are not asking the linking function to clone the template, create the DOM element(s) * before you send them to the compiler and keep this reference around. * <pre> - * var scope = angular.injector('NG')(function($rootScope, $compile){ + * var scope = angular.injector('ng')(function($rootScope, $compile){ * var element = $compile('<p>{{total}}</p>')($rootScope); * }); * </pre> diff --git a/src/service/cookieStore.js b/src/service/cookieStore.js index 2bd00585..e6b7cd21 100644 --- a/src/service/cookieStore.js +++ b/src/service/cookieStore.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$cookieStore + * @name angular.module.ng.$cookieStore * @requires $cookies * * @description @@ -17,8 +17,8 @@ function $CookieStoreProvider(){ return { /** * @ngdoc method - * @name angular.module.NG.$cookieStore#get - * @methodOf angular.module.NG.$cookieStore + * @name angular.module.ng.$cookieStore#get + * @methodOf angular.module.ng.$cookieStore * * @description * Returns the value of given cookie key @@ -32,8 +32,8 @@ function $CookieStoreProvider(){ /** * @ngdoc method - * @name angular.module.NG.$cookieStore#put - * @methodOf angular.module.NG.$cookieStore + * @name angular.module.ng.$cookieStore#put + * @methodOf angular.module.ng.$cookieStore * * @description * Sets a value for given cookie key @@ -47,8 +47,8 @@ function $CookieStoreProvider(){ /** * @ngdoc method - * @name angular.module.NG.$cookieStore#remove - * @methodOf angular.module.NG.$cookieStore + * @name angular.module.ng.$cookieStore#remove + * @methodOf angular.module.ng.$cookieStore * * @description * Remove given cookie diff --git a/src/service/cookies.js b/src/service/cookies.js index ca996b6e..cd953eb1 100644 --- a/src/service/cookies.js +++ b/src/service/cookies.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$cookies + * @name angular.module.ng.$cookies * @requires $browser * * @description diff --git a/src/service/defer.js b/src/service/defer.js index 58dc5b09..f2a893bc 100644 --- a/src/service/defer.js +++ b/src/service/defer.js @@ -2,13 +2,13 @@ /** * @ngdoc function - * @name angular.module.NG.$defer + * @name angular.module.ng.$defer * @requires $browser * * @description - * Delegates to {@link angular.module.NG.$browser#defer $browser.defer}, but wraps the `fn` function + * Delegates to {@link angular.module.ng.$browser#defer $browser.defer}, but wraps the `fn` function * into a try/catch block and delegates any exceptions to - * {@link angular.module.NG.$exceptionHandler $exceptionHandler} service. + * {@link angular.module.ng.$exceptionHandler $exceptionHandler} service. * * In tests you can use `$browser.defer.flush()` to flush the queue of deferred functions. * @@ -19,8 +19,8 @@ /** * @ngdoc function - * @name angular.module.NG.$defer#cancel - * @methodOf angular.module.NG.$defer + * @name angular.module.ng.$defer#cancel + * @methodOf angular.module.ng.$defer * * @description * Cancels a defered task identified with `deferId`. diff --git a/src/service/document.js b/src/service/document.js index 4db1fe12..53b59b39 100644 --- a/src/service/document.js +++ b/src/service/document.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$document + * @name angular.module.ng.$document * @requires $window * * @description diff --git a/src/service/exceptionHandler.js b/src/service/exceptionHandler.js index f771e294..6d680b04 100644 --- a/src/service/exceptionHandler.js +++ b/src/service/exceptionHandler.js @@ -2,7 +2,7 @@ /** * @ngdoc function - * @name angular.module.NG.$exceptionHandler + * @name angular.module.ng.$exceptionHandler * @requires $log * * @description @@ -11,7 +11,7 @@ * the browser console. * * In unit tests, if `angular-mocks.js` is loaded, this service is overriden by - * {@link angular.module.NG_MOCK.$exceptionHandler mock $exceptionHandler} + * {@link angular.module.ngMock.$exceptionHandler mock $exceptionHandler} */ function $ExceptionHandlerProvider(){ this.$get = ['$log', function($log){ diff --git a/src/service/filter.js b/src/service/filter.js index 3164b2d4..4c43be00 100644 --- a/src/service/filter.js +++ b/src/service/filter.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$filterProvider + * @name angular.module.ng.$filterProvider * @description * * Filters are just functions which transform input to an output. However filters need to be Dependency Injected. To @@ -50,8 +50,8 @@ */ /** * @ngdoc method - * @name angular.module.NG.$filterProvider#register - * @methodOf angular.module.NG.$filterProvider + * @name angular.module.ng.$filterProvider#register + * @methodOf angular.module.ng.$filterProvider * @description * Register filter factory function. * @@ -62,7 +62,7 @@ /** * @ngdoc function - * @name angular.module.NG.$filter + * @name angular.module.ng.$filter * @function * @description * Filters are used for formatting data displayed to the user. diff --git a/src/service/filter/filter.js b/src/service/filter/filter.js index 7008c312..61cfc80f 100644 --- a/src/service/filter/filter.js +++ b/src/service/filter/filter.js @@ -2,14 +2,14 @@ /** * @ngdoc filter - * @name angular.module.NG.$filter.filter + * @name angular.module.ng.$filter.filter * @function * * @description * Selects a subset of items from `array` and returns it as a new array. * * Note: This function is used to augment the `Array` type in Angular expressions. See - * {@link angular.module.NG.$filter} for more information about Angular arrays. + * {@link angular.module.ng.$filter} for more information about Angular arrays. * * @param {Array} array The source array. * @param {string|Object|function()} expression The predicate to be used for selecting items from diff --git a/src/service/filter/filters.js b/src/service/filter/filters.js index 95844da3..3e7f8e37 100644 --- a/src/service/filter/filters.js +++ b/src/service/filter/filters.js @@ -2,7 +2,7 @@ /** * @ngdoc filter - * @name angular.module.NG.$filter.currency + * @name angular.module.ng.$filter.currency * @function * * @description @@ -53,7 +53,7 @@ function currencyFilter($locale) { /** * @ngdoc filter - * @name angular.module.NG.$filter.number + * @name angular.module.ng.$filter.number * @function * * @description @@ -239,7 +239,7 @@ var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+ /** * @ngdoc filter - * @name angular.module.NG.$filter.date + * @name angular.module.ng.$filter.date * @function * * @description @@ -364,7 +364,7 @@ function dateFilter($locale) { /** * @ngdoc filter - * @name angular.module.NG.$filter.json + * @name angular.module.ng.$filter.json * @function * * @description @@ -400,7 +400,7 @@ function jsonFilter() { /** * @ngdoc filter - * @name angular.module.NG.$filter.lowercase + * @name angular.module.ng.$filter.lowercase * @function * @description * Converts string to lowercase. @@ -411,7 +411,7 @@ var lowercaseFilter = valueFn(lowercase); /** * @ngdoc filter - * @name angular.module.NG.$filter.uppercase + * @name angular.module.ng.$filter.uppercase * @function * @description * Converts string to uppercase. @@ -422,7 +422,7 @@ var uppercaseFilter = valueFn(uppercase); /** * @ngdoc filter - * @name angular.module.NG.$filter.html + * @name angular.module.ng.$filter.html * @function * * @description @@ -524,7 +524,7 @@ function htmlFilter() { /** * @ngdoc filter - * @name angular.module.NG.$filter.linky + * @name angular.module.ng.$filter.linky * @function * * @description diff --git a/src/service/filter/limitTo.js b/src/service/filter/limitTo.js index cc9646c2..a250bd3b 100644 --- a/src/service/filter/limitTo.js +++ b/src/service/filter/limitTo.js @@ -2,7 +2,7 @@ /** * @ngdoc function - * @name angular.module.NG.$filter.limitTo + * @name angular.module.ng.$filter.limitTo * @function * * @description @@ -11,7 +11,7 @@ * value and sign (positive or negative) of `limit`. * * Note: This function is used to augment the `Array` type in Angular expressions. See - * {@link angular.module.NG.$filter} for more information about Angular arrays. + * {@link angular.module.ng.$filter} for more information about Angular arrays. * * @param {Array} array Source array to be limited. * @param {string|Number} limit The length of the returned array. If the `limit` number is diff --git a/src/service/filter/orderBy.js b/src/service/filter/orderBy.js index c9e6ae9f..2e5a0286 100644 --- a/src/service/filter/orderBy.js +++ b/src/service/filter/orderBy.js @@ -2,14 +2,14 @@ /** * @ngdoc function - * @name angular.module.NG.$filter.orderBy + * @name angular.module.ng.$filter.orderBy * @function * * @description * Orders a specified `array` by the `expression` predicate. * * Note: this function is used to augment the `Array` type in Angular expressions. See - * {@link angular.module.NG.$filter} for more informaton about Angular arrays. + * {@link angular.module.ng.$filter} for more informaton about Angular arrays. * * @param {Array} array The array to sort. * @param {function(*)|string|Array.<(function(*)|string)>} expression A predicate to be diff --git a/src/service/formFactory.js b/src/service/formFactory.js index f0e4b5ac..eb33eb4a 100644 --- a/src/service/formFactory.js +++ b/src/service/formFactory.js @@ -2,20 +2,20 @@ /** * @ngdoc object - * @name angular.module.NG.$formFactory + * @name angular.module.ng.$formFactory * * @description - * Use `$formFactory` to create a new instance of a {@link angular.module.NG.$formFactory.Form Form} + * Use `$formFactory` to create a new instance of a {@link angular.module.ng.$formFactory.Form Form} * controller or to find the nearest form instance for a given DOM element. * * The form instance is a collection of widgets, and is responsible for life cycle and validation * of widget. * - * Keep in mind that both form and widget instances are {@link api/angular.module.NG.$rootScope.Scope scopes}. + * Keep in mind that both form and widget instances are {@link api/angular.module.ng.$rootScope.Scope scopes}. * * @param {Form=} parentForm The form which should be the parent form of the new form controller. * If none specified default to the `rootForm`. - * @returns {Form} A new {@link angular.module.NG.$formFactory.Form Form} instance. + * @returns {Form} A new {@link angular.module.ng.$formFactory.Form Form} instance. * * @example * @@ -97,7 +97,7 @@ /** * @ngdoc object - * @name angular.module.NG.$formFactory.Form + * @name angular.module.ng.$formFactory.Form * @description * The `Form` is a controller which keeps track of the validity of the widgets contained within it. */ @@ -109,7 +109,7 @@ function $FormFactoryProvider() { /** * @ngdoc proprety * @name rootForm - * @propertyOf angular.module.NG.$formFactory + * @propertyOf angular.module.ng.$formFactory * @description * Static property on `$formFactory` * @@ -122,7 +122,7 @@ function $FormFactoryProvider() { /** * @ngdoc method * @name forElement - * @methodOf angular.module.NG.$formFactory + * @methodOf angular.module.ng.$formFactory * @description * Static method on `$formFactory` service. * @@ -149,7 +149,7 @@ function $FormFactoryProvider() { /** * @ngdoc property * @name $error - * @propertyOf angular.module.NG.$formFactory.Form + * @propertyOf angular.module.ng.$formFactory.Form * @description * Property of the form and widget instance. * @@ -161,7 +161,7 @@ function $FormFactoryProvider() { /** * @ngdoc property * @name $invalid - * @propertyOf angular.module.NG.$formFactory.Form + * @propertyOf angular.module.ng.$formFactory.Form * @description * Property of the form and widget instance. * @@ -171,7 +171,7 @@ function $FormFactoryProvider() { /** * @ngdoc property * @name $valid - * @propertyOf angular.module.NG.$formFactory.Form + * @propertyOf angular.module.ng.$formFactory.Form * @description * Property of the form and widget instance. * @@ -180,8 +180,8 @@ function $FormFactoryProvider() { /** * @ngdoc event - * @name angular.module.NG.$formFactory.Form#$valid - * @eventOf angular.module.NG.$formFactory.Form + * @name angular.module.ng.$formFactory.Form#$valid + * @eventOf angular.module.ng.$formFactory.Form * @eventType listen on form * @description * Upon receiving the `$valid` event from the widget update the `$error`, `$valid` and `$invalid` @@ -194,8 +194,8 @@ function $FormFactoryProvider() { /** * @ngdoc event - * @name angular.module.NG.$formFactory.Form#$invalid - * @eventOf angular.module.NG.$formFactory.Form + * @name angular.module.ng.$formFactory.Form#$invalid + * @eventOf angular.module.ng.$formFactory.Form * @eventType listen on form * @description * Upon receiving the `$invalid` event from the widget update the `$error`, `$valid` and `$invalid` @@ -208,8 +208,8 @@ function $FormFactoryProvider() { /** * @ngdoc event - * @name angular.module.NG.$formFactory.Form#$validate - * @eventOf angular.module.NG.$formFactory.Form + * @name angular.module.ng.$formFactory.Form#$validate + * @eventOf angular.module.ng.$formFactory.Form * @eventType emit on widget * @description * Emit the `$validate` event on the widget, giving a widget a chance to emit a @@ -219,8 +219,8 @@ function $FormFactoryProvider() { /** * @ngdoc event - * @name angular.module.NG.$formFactory.Form#$viewChange - * @eventOf angular.module.NG.$formFactory.Form + * @name angular.module.ng.$formFactory.Form#$viewChange + * @eventOf angular.module.ng.$formFactory.Form * @eventType listen on widget * @description * A widget is responsible for emitting this event whenever the view changes do to user interaction. @@ -293,7 +293,7 @@ function $FormFactoryProvider() { /** * @ngdoc method * @name $createWidget - * @methodOf angular.module.NG.$formFactory.Form + * @methodOf angular.module.ng.$formFactory.Form * @description * * Use form's `$createWidget` instance method to create new widgets. The widgets can be created diff --git a/src/service/locale.js b/src/service/locale.js index 19085295..4c9a989d 100644 --- a/src/service/locale.js +++ b/src/service/locale.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$locale + * @name angular.module.ng.$locale * * @description * $locale service provides localization rules for various Angular components. As of right now the diff --git a/src/service/location.js b/src/service/location.js index 532ee3af..a29a1a15 100644 --- a/src/service/location.js +++ b/src/service/location.js @@ -205,8 +205,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#absUrl - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#absUrl + * @methodOf angular.module.ng.$location * * @description * This method is getter only. @@ -220,8 +220,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#url - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#url + * @methodOf angular.module.ng.$location * * @description * This method is getter / setter. @@ -247,8 +247,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#protocol - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#protocol + * @methodOf angular.module.ng.$location * * @description * This method is getter only. @@ -261,8 +261,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#host - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#host + * @methodOf angular.module.ng.$location * * @description * This method is getter only. @@ -275,8 +275,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#port - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#port + * @methodOf angular.module.ng.$location * * @description * This method is getter only. @@ -289,8 +289,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#path - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#path + * @methodOf angular.module.ng.$location * * @description * This method is getter / setter. @@ -311,8 +311,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#search - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#search + * @methodOf angular.module.ng.$location * * @description * This method is getter / setter. @@ -344,8 +344,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#hash - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#hash + * @methodOf angular.module.ng.$location * * @description * This method is getter / setter. @@ -361,8 +361,8 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = { /** * @ngdoc method - * @name angular.module.NG.$location#replace - * @methodOf angular.module.NG.$location + * @name angular.module.ng.$location#replace + * @methodOf angular.module.ng.$location * * @description * If called, all changes to $location during current `$digest` will be replacing current history @@ -397,7 +397,7 @@ function locationGetterSetter(property, preprocess) { /** * @ngdoc object - * @name angular.module.NG.$location + * @name angular.module.ng.$location * * @requires $browser * @requires $sniffer @@ -422,9 +422,9 @@ function locationGetterSetter(property, preprocess) { /** * @ngdoc object - * @name angular.module.NG.$locationProvider + * @name angular.module.ng.$locationProvider * @description - * Use the `$locationPrvoder` to configure how the application deep linking paths are stored. + * Use the `$locationProvider` to configure how the application deep linking paths are stored. */ function $LocationProvider(){ var hashPrefix = '', @@ -432,11 +432,11 @@ function $LocationProvider(){ /** * @ngdoc property - * @name angular.module.NG.$locationProvider#hashPrefix - * @methodOf angular.module.NG.$locationProvider + * @name angular.module.ng.$locationProvider#hashPrefix + * @methodOf angular.module.ng.$locationProvider * @description * @param {string=} prefix Prefix for hash part (containing path and search) - * @returns current value if used as getter or itself (chaining) if used as setter + * @returns {*} current value if used as getter or itself (chaining) if used as setter */ this.hashPrefix = function(prefix) { if (isDefined(prefix)) { @@ -449,11 +449,11 @@ function $LocationProvider(){ /** * @ngdoc property - * @name angular.module.NG.$locationProvider#hashPrefix - * @propertyOf angular.module.NG.$locationProvider + * @name angular.module.ng.$locationProvider#hashPrefix + * @methodOf angular.module.ng.$locationProvider * @description - * @param mode= Use HTML5 strategy if available. - * @returns current value if used as getter or itself (chaining) if used as setter + * @param {string=} mode Use HTML5 strategy if available. + * @returns {*} current value if used as getter or itself (chaining) if used as setter */ this.html5Mode = function(mode) { if (isDefined(mode)) { diff --git a/src/service/log.js b/src/service/log.js index 14ae2a57..d6566140 100644 --- a/src/service/log.js +++ b/src/service/log.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$log + * @name angular.module.ng.$log * @requires $window * * @description @@ -40,8 +40,8 @@ function $LogProvider(){ return { /** * @ngdoc method - * @name angular.module.NG.$log#log - * @methodOf angular.module.NG.$log + * @name angular.module.ng.$log#log + * @methodOf angular.module.ng.$log * * @description * Write a log message @@ -50,8 +50,8 @@ function $LogProvider(){ /** * @ngdoc method - * @name angular.module.NG.$log#warn - * @methodOf angular.module.NG.$log + * @name angular.module.ng.$log#warn + * @methodOf angular.module.ng.$log * * @description * Write a warning message @@ -60,8 +60,8 @@ function $LogProvider(){ /** * @ngdoc method - * @name angular.module.NG.$log#info - * @methodOf angular.module.NG.$log + * @name angular.module.ng.$log#info + * @methodOf angular.module.ng.$log * * @description * Write an information message @@ -70,8 +70,8 @@ function $LogProvider(){ /** * @ngdoc method - * @name angular.module.NG.$log#error - * @methodOf angular.module.NG.$log + * @name angular.module.ng.$log#error + * @methodOf angular.module.ng.$log * * @description * Write an error message diff --git a/src/service/resource.js b/src/service/resource.js index bdd0058d..969e4be1 100644 --- a/src/service/resource.js +++ b/src/service/resource.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$resource + * @name angular.module.ng.$resource * @requires $xhr.cache * * @description @@ -10,7 +10,7 @@ * [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) server-side data sources. * * The returned resource object has action methods which provide high-level behaviors without - * the need to interact with the low level {@link angular.module.NG.$xhr $xhr} service or + * the need to interact with the low level {@link angular.module.ng.$xhr $xhr} service or * raw XMLHttpRequest. * * @param {string} url A parameterized URL template with parameters prefixed by `:` as in @@ -57,7 +57,7 @@ * 'remove': {method:'DELETE'}, * 'delete': {method:'DELETE'} }; * - * Calling these methods invoke an {@link angular.module.NG.$xhr} with the specified http method, + * Calling these methods invoke an {@link angular.module.ng.$xhr} with the specified http method, * destination and parameters. When the data is returned from the server then the object is an * instance of the resource class `save`, `remove` and `delete` actions are available on it as * methods with the `$` prefix. This allows you to easily perform CRUD operations (create, read, diff --git a/src/service/route.js b/src/service/route.js index 61f43c29..97c9cee0 100644 --- a/src/service/route.js +++ b/src/service/route.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$route + * @name angular.module.ng.$route * @requires $location * @requires $routeParams * @@ -14,7 +14,7 @@ * definition. It is used for deep-linking URLs to controllers and views (HTML partials). * * The `$route` service is typically used in conjunction with {@link angular.widget.ng:view ng:view} - * widget and the {@link angular.module.NG.$routeParams $routeParams} service. + * widget and the {@link angular.module.ng.$routeParams $routeParams} service. * * @example This example shows how changing the URL hash causes the <tt>$route</tt> @@ -67,8 +67,8 @@ function $RouteProvider(){ function( $rootScope, $location, $routeParams) { /** * @ngdoc event - * @name angular.module.NG.$route#$beforeRouteChange - * @eventOf angular.module.NG.$route + * @name angular.module.ng.$route#$beforeRouteChange + * @eventOf angular.module.ng.$route * @eventType broadcast on root scope * @description * Broadcasted before a route change. @@ -79,14 +79,14 @@ function $RouteProvider(){ * The `Route` object extends the route definition with the following properties. * * * `scope` - The instance of the route controller. - * * `params` - The current {@link angular.module.NG.$routeParams params}. + * * `params` - The current {@link angular.module.ng.$routeParams params}. * */ /** * @ngdoc event - * @name angular.module.NG.$route#$afterRouteChange - * @eventOf angular.module.NG.$route + * @name angular.module.ng.$route#$afterRouteChange + * @eventOf angular.module.ng.$route * @eventType broadcast on root scope * @description * Broadcasted after a route change. @@ -97,14 +97,14 @@ function $RouteProvider(){ * The `Route` object extends the route definition with the following properties. * * * `scope` - The instance of the route controller. - * * `params` - The current {@link angular.module.NG.$routeParams params}. + * * `params` - The current {@link angular.module.ng.$routeParams params}. * */ /** * @ngdoc event - * @name angular.module.NG.$route#$routeUpdate - * @eventOf angular.module.NG.$route + * @name angular.module.ng.$route#$routeUpdate + * @eventOf angular.module.ng.$route * @eventType emit on the current route scope * @description * @@ -122,8 +122,8 @@ function $RouteProvider(){ /** * @ngdoc method - * @name angular.module.NG.$route#parent - * @methodOf angular.module.NG.$route + * @name angular.module.ng.$route#parent + * @methodOf angular.module.ng.$route * * @param {Scope} [scope=rootScope] Scope to be used as parent for newly created * `$route.current.scope` scopes. @@ -138,8 +138,8 @@ function $RouteProvider(){ /** * @ngdoc method - * @name angular.module.NG.$route#when - * @methodOf angular.module.NG.$route + * @name angular.module.ng.$route#when + * @methodOf angular.module.ng.$route * * @param {string} path Route path (matched against `$location.hash`) * @param {Object} route Mapping information to be assigned to `$route.current` on route @@ -153,7 +153,7 @@ function $RouteProvider(){ * {@link angular.widget.ng:view ng:view} or * {@link angular.widget.ng:include ng:include} widgets. * - `redirectTo` – {(string|function())=} – value to update - * {@link angular.module.NG.$location $location} path with and trigger route redirection. + * {@link angular.module.ng.$location $location} path with and trigger route redirection. * * If `redirectTo` is a function, it will be called with the following parameters: * @@ -170,7 +170,7 @@ function $RouteProvider(){ * * If the option is set to false and url in the browser changes, then * $routeUpdate event is emited on the current route scope. You can use this event to - * react to {@link angular.module.NG.$routeParams} changes: + * react to {@link angular.module.ng.$routeParams} changes: * * function MyCtrl($route, $routeParams) { * this.$on('$routeUpdate', function() { @@ -193,8 +193,8 @@ function $RouteProvider(){ /** * @ngdoc method - * @name angular.module.NG.$route#otherwise - * @methodOf angular.module.NG.$route + * @name angular.module.ng.$route#otherwise + * @methodOf angular.module.ng.$route * * @description * Sets route definition that will be used on route change when no other route definition @@ -208,12 +208,12 @@ function $RouteProvider(){ /** * @ngdoc method - * @name angular.module.NG.$route#reload - * @methodOf angular.module.NG.$route + * @name angular.module.ng.$route#reload + * @methodOf angular.module.ng.$route * * @description * Causes `$route` service to reload (and recreate the `$route.current` scope) upon the next - * eval even if {@link angular.module.NG.$location $location} hasn't changed. + * eval even if {@link angular.module.ng.$location $location} hasn't changed. */ reload: function() { dirty++; diff --git a/src/service/routeParams.js b/src/service/routeParams.js index bb59bb28..949bc22d 100644 --- a/src/service/routeParams.js +++ b/src/service/routeParams.js @@ -2,13 +2,13 @@ /** * @ngdoc object - * @name angular.module.NG.$routeParams + * @name angular.module.ng.$routeParams * @requires $route * * @description * Current set of route parameters. The route parameters are a combination of the - * {@link angular.module.NG.$location $location} `search()`, and `path()`. The `path` parameters - * are extracted when the {@link angular.module.NG.$route $route} path is matched. + * {@link angular.module.ng.$location $location} `search()`, and `path()`. The `path` parameters + * are extracted when the {@link angular.module.ng.$route $route} path is matched. * * In case of parameter name collision, `path` params take precedence over `search` params. * diff --git a/src/service/scope.js b/src/service/scope.js index afc152f7..df969cfc 100644 --- a/src/service/scope.js +++ b/src/service/scope.js @@ -27,10 +27,10 @@ /** * @ngdoc object - * @name angular.module.NG.$rootScope + * @name angular.module.ng.$rootScope * @description * - * Every application has a single root {@link angular.module.NG.$rootScope.Scope scope}. + * Every application has a single root {@link angular.module.ng.$rootScope.Scope scope}. * All other scopes are child scopes of the root scope. Scopes provide mechanism for watching the model and provide * event processing life-cycle. See {@link guide/dev_guide.scopes developer guide on scopes}. */ @@ -39,12 +39,12 @@ function $RootScopeProvider(){ function( $injector, $exceptionHandler, $parse){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope * * @description - * A root scope can be retrieved using the {@link angular.module.NG.$rootScope $rootScope} key from the + * A root scope can be retrieved using the {@link angular.module.ng.$rootScope $rootScope} key from the * {@link angular.module.AUTO.$injector $injector}. Child scopes are created using the - * {@link angular.module.NG.$rootScope.Scope#$new $new()} method. (Most scopes are created automatically when + * {@link angular.module.ng.$rootScope.Scope#$new $new()} method. (Most scopes are created automatically when * compiled HTML template is executed.) * * Here is a simple scope snippet to show how you can interact with the scope. @@ -90,7 +90,7 @@ function $RootScopeProvider(){ * * * @param {Object.<string, function()>=} providers Map of service factory which need to be provided - * for the current scope. Defaults to {@link angular.module.NG}. + * for the current scope. Defaults to {@link angular.module.ng}. * @param {Object.<string, *>=} instanceCache Provides pre-instantiated services which should * append/override services provided by `providers`. This is handy when unit-testing and having * the need to override a default service. @@ -110,8 +110,8 @@ function $RootScopeProvider(){ /** * @ngdoc property - * @name angular.module.NG.$rootScope.Scope#$id - * @propertyOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$id + * @propertyOf angular.module.ng.$rootScope.Scope * @returns {number} Unique scope ID (monotonically increasing alphanumeric sequence) useful for * debugging. */ @@ -120,17 +120,17 @@ function $RootScopeProvider(){ Scope.prototype = { /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$new - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$new + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description - * Creates a new child {@link angular.module.NG.$rootScope.Scope scope}. The new scope can optionally behave as a - * controller. The parent scope will propagate the {@link angular.module.NG.$rootScope.Scope#$digest $digest()} and - * {@link angular.module.NG.$rootScope.Scope#$digest $digest()} events. The scope can be removed from the scope - * hierarchy using {@link angular.module.NG.$rootScope.Scope#$destroy $destroy()}. + * Creates a new child {@link angular.module.ng.$rootScope.Scope scope}. The new scope can optionally behave as a + * controller. The parent scope will propagate the {@link angular.module.ng.$rootScope.Scope#$digest $digest()} and + * {@link angular.module.ng.$rootScope.Scope#$digest $digest()} events. The scope can be removed from the scope + * hierarchy using {@link angular.module.ng.$rootScope.Scope#$destroy $destroy()}. * - * {@link angular.module.NG.$rootScope.Scope#$destroy $destroy()} must be called on a scope when it is desired for + * {@link angular.module.ng.$rootScope.Scope#$destroy $destroy()} must be called on a scope when it is desired for * the scope and its child scopes to be permanently detached from the parent and thus stop * participating in model change detection and listener notification by invoking. * @@ -175,17 +175,17 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$watch - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$watch + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description * Registers a `listener` callback to be executed whenever the `watchExpression` changes. * - * - The `watchExpression` is called on every call to {@link angular.module.NG.$rootScope.Scope#$digest $digest()} and - * should return the value which will be watched. (Since {@link angular.module.NG.$rootScope.Scope#$digest $digest()} + * - The `watchExpression` is called on every call to {@link angular.module.ng.$rootScope.Scope#$digest $digest()} and + * should return the value which will be watched. (Since {@link angular.module.ng.$rootScope.Scope#$digest $digest()} * reruns when it detects changes the `watchExpression` can execute multiple times per - * {@link angular.module.NG.$rootScope.Scope#$digest $digest()} and should be idempotent.) + * {@link angular.module.ng.$rootScope.Scope#$digest $digest()} and should be idempotent.) * - The `listener` is called only when the value from the current `watchExpression` and the * previous call to `watchExpression' are not equal. The inequality is determined according to * {@link angular.equals} function. To save the value of the object for later comparison @@ -196,15 +196,15 @@ function $RootScopeProvider(){ * limit is 100 to prevent infinity loop deadlock. * * - * If you want to be notified whenever {@link angular.module.NG.$rootScope.Scope#$digest $digest} is called, + * If you want to be notified whenever {@link angular.module.ng.$rootScope.Scope#$digest $digest} is called, * you can register an `watchExpression` function with no `listener`. (Since `watchExpression`, - * can execute multiple times per {@link angular.module.NG.$rootScope.Scope#$digest $digest} cycle when a change is + * can execute multiple times per {@link angular.module.ng.$rootScope.Scope#$digest $digest} cycle when a change is * detected, be prepared for multiple calls to your listener.) * * * # Example <pre> - var scope = angular.module.NG.$rootScope.Scope(); + var scope = angular.module.ng.$rootScope.Scope(); scope.name = 'misko'; scope.counter = 0; @@ -224,7 +224,7 @@ function $RootScopeProvider(){ * * * @param {(function()|string)} watchExpression Expression that is evaluated on each - * {@link angular.module.NG.$rootScope.Scope#$digest $digest} cycle. A change in the return value triggers a + * {@link angular.module.ng.$rootScope.Scope#$digest $digest} cycle. A change in the return value triggers a * call to the `listener`. * * - `string`: Evaluated as {@link guide/dev_guide.expressions expression} @@ -263,24 +263,24 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$digest - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$digest + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description - * Process all of the {@link angular.module.NG.$rootScope.Scope#$watch watchers} of the current scope and its children. - * Because a {@link angular.module.NG.$rootScope.Scope#$watch watcher}'s listener can change the model, the - * `$digest()` keeps calling the {@link angular.module.NG.$rootScope.Scope#$watch watchers} until no more listeners are + * Process all of the {@link angular.module.ng.$rootScope.Scope#$watch watchers} of the current scope and its children. + * Because a {@link angular.module.ng.$rootScope.Scope#$watch watcher}'s listener can change the model, the + * `$digest()` keeps calling the {@link angular.module.ng.$rootScope.Scope#$watch watchers} until no more listeners are * firing. This means that it is possible to get into an infinite loop. This function will throw * `'Maximum iteration limit exceeded.'` if the number of iterations exceeds 100. * * Usually you don't call `$digest()` directly in * {@link angular.directive.ng:controller controllers} or in {@link angular.directive directives}. - * Instead a call to {@link angular.module.NG.$rootScope.Scope#$apply $apply()} (typically from within a + * Instead a call to {@link angular.module.ng.$rootScope.Scope#$apply $apply()} (typically from within a * {@link angular.directive directive}) will force a `$digest()`. * * If you want to be notified whenever `$digest()` is called, - * you can register a `watchExpression` function with {@link angular.module.NG.$rootScope.Scope#$watch $watch()} + * you can register a `watchExpression` function with {@link angular.module.ng.$rootScope.Scope#$watch $watch()} * with no `listener`. * * You may have a need to call `$digest()` from within unit-tests, to simulate the scope @@ -382,17 +382,17 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$destroy - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$destroy + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description * Remove the current scope (and all of its children) from the parent scope. Removal implies - * that calls to {@link angular.module.NG.$rootScope.Scope#$digest $digest()} will no longer propagate to the current + * that calls to {@link angular.module.ng.$rootScope.Scope#$digest $digest()} will no longer propagate to the current * scope and its children. Removal also implies that the current scope is eligible for garbage * collection. * - * The destructing scope emits an `$destroy` {@link angular.module.NG.$rootScope.Scope#$emit event}. + * The destructing scope emits an `$destroy` {@link angular.module.ng.$rootScope.Scope#$emit event}. * * The `$destroy()` is usually used by directives such as * {@link angular.widget.@ng:repeat ng:repeat} for managing the unrolling of the loop. @@ -411,8 +411,8 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$eval - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$eval + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description @@ -421,7 +421,7 @@ function $RootScopeProvider(){ * * # Example <pre> - var scope = angular.module.NG.$rootScope.Scope(); + var scope = angular.module.ng.$rootScope.Scope(); scope.a = 1; scope.b = 2; @@ -442,8 +442,8 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$evalAsync - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$evalAsync + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description @@ -452,11 +452,11 @@ function $RootScopeProvider(){ * The `$evalAsync` makes no guarantees as to when the `expression` will be executed, only that: * * - it will execute in the current script execution context (before any DOM rendering). - * - at least one {@link angular.module.NG.$rootScope.Scope#$digest $digest cycle} will be performed after + * - at least one {@link angular.module.ng.$rootScope.Scope#$digest $digest cycle} will be performed after * `expression` execution. * * Any exceptions from the execution of the expression are forwarded to the - * {@link angular.module.NG.$exceptionHandler $exceptionHandler} service. + * {@link angular.module.ng.$exceptionHandler $exceptionHandler} service. * * @param {(string|function())=} expression An angular expression to be executed. * @@ -470,16 +470,16 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$apply - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$apply + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description * `$apply()` is used to execute an expression in angular from outside of the angular framework. * (For example from browser DOM events, setTimeout, XHR or third party libraries). * Because we are calling into the angular framework we need to perform proper scope life-cycle - * of {@link angular.module.NG.$exceptionHandler exception handling}, - * {@link angular.module.NG.$rootScope.Scope#$digest executing watches}. + * of {@link angular.module.ng.$exceptionHandler exception handling}, + * {@link angular.module.ng.$rootScope.Scope#$digest executing watches}. * * ## Life cycle * @@ -498,11 +498,11 @@ function $RootScopeProvider(){ * Scope's `$apply()` method transitions through the following stages: * * 1. The {@link guide/dev_guide.expressions expression} is executed using the - * {@link angular.module.NG.$rootScope.Scope#$eval $eval()} method. + * {@link angular.module.ng.$rootScope.Scope#$eval $eval()} method. * 2. Any exceptions from the execution of the expression are forwarded to the - * {@link angular.module.NG.$exceptionHandler $exceptionHandler} service. - * 3. The {@link angular.module.NG.$rootScope.Scope#$watch watch} listeners are fired immediately after the expression - * was executed using the {@link angular.module.NG.$rootScope.Scope#$digest $digest()} method. + * {@link angular.module.ng.$exceptionHandler $exceptionHandler} service. + * 3. The {@link angular.module.ng.$rootScope.Scope#$watch watch} listeners are fired immediately after the expression + * was executed using the {@link angular.module.ng.$rootScope.Scope#$digest $digest()} method. * * * @param {(string|function())=} exp An angular expression to be executed. @@ -524,12 +524,12 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$on - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$on + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description - * Listen on events of a given type. See {@link angular.module.NG.$rootScope.Scope#$emit $emit} for discussion of + * Listen on events of a given type. See {@link angular.module.ng.$rootScope.Scope#$emit $emit} for discussion of * event life cycle. * * @param {string} name Event name to listen on. @@ -559,21 +559,21 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$emit - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$emit + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description * Dispatches an event `name` upwards through the scope hierarchy notifying the - * registered {@link angular.module.NG.$rootScope.Scope#$on} listeners. + * registered {@link angular.module.ng.$rootScope.Scope#$on} listeners. * * The event life cycle starts at the scope on which `$emit` was called. All - * {@link angular.module.NG.$rootScope.Scope#$on listeners} listening for `name` event on this scope get notified. + * {@link angular.module.ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get notified. * Afterwards, the event traverses upwards toward the root scope and calls all registered * listeners along the way. The event will stop propagating if one of the listeners cancels it. * - * Any exception emmited from the {@link angular.module.NG.$rootScope.Scope#$on listeners} will be passed - * onto the {@link angular.module.NG.$exceptionHandler $exceptionHandler} service. + * Any exception emmited from the {@link angular.module.ng.$rootScope.Scope#$on listeners} will be passed + * onto the {@link angular.module.ng.$exceptionHandler $exceptionHandler} service. * * @param {string} name Event name to emit. * @param {...*} args Optional set of arguments which will be passed onto the event listeners. @@ -610,21 +610,21 @@ function $RootScopeProvider(){ /** * @ngdoc function - * @name angular.module.NG.$rootScope.Scope#$broadcast - * @methodOf angular.module.NG.$rootScope.Scope + * @name angular.module.ng.$rootScope.Scope#$broadcast + * @methodOf angular.module.ng.$rootScope.Scope * @function * * @description * Dispatches an event `name` downwards to all child scopes (and their children) notifying the - * registered {@link angular.module.NG.$rootScope.Scope#$on} listeners. + * registered {@link angular.module.ng.$rootScope.Scope#$on} listeners. * * The event life cycle starts at the scope on which `$broadcast` was called. All - * {@link angular.module.NG.$rootScope.Scope#$on listeners} listening for `name` event on this scope get notified. + * {@link angular.module.ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get notified. * Afterwards, the event propagates to all direct and indirect scopes of the current scope and * calls all registered listeners along the way. The event cannot be canceled. * - * Any exception emmited from the {@link angular.module.NG.$rootScope.Scope#$on listeners} will be passed - * onto the {@link angular.module.NG.$exceptionHandler $exceptionHandler} service. + * Any exception emmited from the {@link angular.module.ng.$rootScope.Scope#$on listeners} will be passed + * onto the {@link angular.module.ng.$exceptionHandler $exceptionHandler} service. * * @param {string} name Event name to emit. * @param {...*} args Optional set of arguments which will be passed onto the event listeners. diff --git a/src/service/sniffer.js b/src/service/sniffer.js index a8b6b1a5..4abe1fd2 100644 --- a/src/service/sniffer.js +++ b/src/service/sniffer.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$sniffer + * @name angular.module.ng.$sniffer * @requires $window * * @property {boolean} history Does the browser support html5 history api ? diff --git a/src/service/window.js b/src/service/window.js index 1a74ab46..7bb3dfca 100644 --- a/src/service/window.js +++ b/src/service/window.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$window + * @name angular.module.ng.$window * * @description * A reference to the browser's `window` object. While `window` diff --git a/src/service/xhr.bulk.js b/src/service/xhr.bulk.js index 727d29c1..fca96dde 100644 --- a/src/service/xhr.bulk.js +++ b/src/service/xhr.bulk.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$xhr.bulk + * @name angular.module.ng.$xhr.bulk * @requires $xhr * @requires $xhr.error * @requires $log diff --git a/src/service/xhr.cache.js b/src/service/xhr.cache.js index 840aaa6c..8a14ad99 100644 --- a/src/service/xhr.cache.js +++ b/src/service/xhr.cache.js @@ -2,7 +2,7 @@ /** * @ngdoc object - * @name angular.module.NG.$xhr.cache + * @name angular.module.ng.$xhr.cache * @function * * @requires $xhr.bulk @@ -11,11 +11,11 @@ * @requires $log * * @description - * Acts just like the {@link angular.module.NG.$xhr $xhr} service but caches responses for `GET` + * Acts just like the {@link angular.module.ng.$xhr $xhr} service but caches responses for `GET` * requests. All cache misses are delegated to the $xhr service. * * @property {function()} delegate Function to delegate all the cache misses to. Defaults to - * the {@link angular.module.NG.$xhr $xhr} service. + * the {@link angular.module.ng.$xhr $xhr} service. * @property {object} data The hashmap where all cached entries are stored. * * @param {string} method HTTP method. diff --git a/src/service/xhr.error.js b/src/service/xhr.error.js index 6f0839b2..372f97f4 100644 --- a/src/service/xhr.error.js +++ b/src/service/xhr.error.js @@ -2,14 +2,14 @@ /** * @ngdoc object - * @name angular.module.NG.$xhr.error + * @name angular.module.ng.$xhr.error * @function * @requires $log * * @description - * Error handler for {@link angular.module.NG.$xhr $xhr service}. An application can replaces this + * Error handler for {@link angular.module.ng.$xhr $xhr service}. An application can replaces this * service with one specific for the application. The default implementation logs the error to - * {@link angular.module.NG.$log $log.error}. + * {@link angular.module.ng.$log $log.error}. * * @param {Object} request Request object. * 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 |
