diff options
| author | Igor Minar | 2012-06-11 23:49:24 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-06-12 00:10:18 -0700 | 
| commit | f16150d5f1b20b3d633b4402095ea89baa4be042 (patch) | |
| tree | 9d5c570348264884174ecca52b958da7a821fcf8 /src/ng/location.js | |
| parent | fc0b2b5715655a05cbb4c8e79969c95d7e7ce8b7 (diff) | |
| download | angular.js-f16150d5f1b20b3d633b4402095ea89baa4be042.tar.bz2 | |
docs(*): simplify doc urls
we now have two types of namespaces:
- true namespace: angular.* - used for all global apis
- virtual namespace: ng.*, ngMock.*, ... - used for all DI modules
the virual namespaces have services under the second namespace level (e.g. ng.)
and filters and directives prefixed with filter: and directive: respectively
(e.g. ng.filter:orderBy, ng.directive:ngRepeat)
this simplifies urls and makes them a lot shorter while still avoiding name collisions
Diffstat (limited to 'src/ng/location.js')
| -rw-r--r-- | src/ng/location.js | 48 | 
1 files changed, 24 insertions, 24 deletions
| diff --git a/src/ng/location.js b/src/ng/location.js index 64a234ad..30509062 100644 --- a/src/ng/location.js +++ b/src/ng/location.js @@ -205,8 +205,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#absUrl -   * @methodOf angular.module.ng.$location +   * @name ng.$location#absUrl +   * @methodOf ng.$location     *     * @description     * This method is getter only. @@ -220,8 +220,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#url -   * @methodOf angular.module.ng.$location +   * @name ng.$location#url +   * @methodOf ng.$location     *     * @description     * This method is getter / setter. @@ -247,8 +247,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#protocol -   * @methodOf angular.module.ng.$location +   * @name ng.$location#protocol +   * @methodOf ng.$location     *     * @description     * This method is getter only. @@ -261,8 +261,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#host -   * @methodOf angular.module.ng.$location +   * @name ng.$location#host +   * @methodOf ng.$location     *     * @description     * This method is getter only. @@ -275,8 +275,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#port -   * @methodOf angular.module.ng.$location +   * @name ng.$location#port +   * @methodOf ng.$location     *     * @description     * This method is getter only. @@ -289,8 +289,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#path -   * @methodOf angular.module.ng.$location +   * @name ng.$location#path +   * @methodOf ng.$location     *     * @description     * This method is getter / setter. @@ -311,8 +311,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#search -   * @methodOf angular.module.ng.$location +   * @name ng.$location#search +   * @methodOf ng.$location     *     * @description     * This method is getter / setter. @@ -347,8 +347,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#hash -   * @methodOf angular.module.ng.$location +   * @name ng.$location#hash +   * @methodOf ng.$location     *     * @description     * This method is getter / setter. @@ -364,8 +364,8 @@ LocationUrl.prototype = {    /**     * @ngdoc method -   * @name angular.module.ng.$location#replace -   * @methodOf angular.module.ng.$location +   * @name ng.$location#replace +   * @methodOf ng.$location     *     * @description     * If called, all changes to $location during current `$digest` will be replacing current history @@ -401,7 +401,7 @@ function locationGetterSetter(property, preprocess) {  /**   * @ngdoc object - * @name angular.module.ng.$location + * @name ng.$location   *   * @requires $browser   * @requires $sniffer @@ -430,7 +430,7 @@ function locationGetterSetter(property, preprocess) {  /**   * @ngdoc object - * @name angular.module.ng.$locationProvider + * @name ng.$locationProvider   * @description   * Use the `$locationProvider` to configure how the application deep linking paths are stored.   */ @@ -440,8 +440,8 @@ function $LocationProvider(){    /**     * @ngdoc property -   * @name angular.module.ng.$locationProvider#hashPrefix -   * @methodOf angular.module.ng.$locationProvider +   * @name ng.$locationProvider#hashPrefix +   * @methodOf 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 @@ -457,8 +457,8 @@ function $LocationProvider(){    /**     * @ngdoc property -   * @name angular.module.ng.$locationProvider#html5Mode -   * @methodOf angular.module.ng.$locationProvider +   * @name ng.$locationProvider#html5Mode +   * @methodOf ng.$locationProvider     * @description     * @param {string=} mode Use HTML5 strategy if available.     * @returns {*} current value if used as getter or itself (chaining) if used as setter | 
