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/controller.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/controller.js')
| -rw-r--r-- | src/ng/controller.js | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/src/ng/controller.js b/src/ng/controller.js index 67f70aad..e2f1b6ac 100644 --- a/src/ng/controller.js +++ b/src/ng/controller.js @@ -2,13 +2,13 @@  /**   * @ngdoc object - * @name angular.module.ng.$controllerProvider + * @name ng.$controllerProvider   * @description - * The {@link angular.module.ng.$controller $controller service} is used by Angular to create new + * The {@link ng.$controller $controller service} is used by Angular to create new   * controllers.   *   * This provider allows controller registration via the - * {@link angular.module.ng.$controllerProvider#register register} method. + * {@link ng.$controllerProvider#register register} method.   */  function $ControllerProvider() {    var controllers = {}; @@ -16,8 +16,8 @@ function $ControllerProvider() {    /**     * @ngdoc function -   * @name angular.module.ng.$controllerProvider#register -   * @methodOf angular.module.ng.$controllerProvider +   * @name ng.$controllerProvider#register +   * @methodOf ng.$controllerProvider     * @param {string} name Controller name     * @param {Function|Array} constructor Controller constructor fn (optionally decorated with DI     *    annotations in the array notation). @@ -35,7 +35,7 @@ function $ControllerProvider() {      /**       * @ngdoc function -     * @name angular.module.ng.$controller +     * @name ng.$controller       * @requires $injector       *       * @param {Function|string} constructor If called with a function then it's considered to be the @@ -52,7 +52,7 @@ function $ControllerProvider() {       * @description       * `$controller` service is responsible for instantiating controllers.       * -     * It's just simple call to {@link angular.module.AUTO.$injector $injector}, but extracted into +     * It's just simple call to {@link AUTO.$injector $injector}, but extracted into       * a service, so that one can override this service with {@link https://gist.github.com/1649788       * BC version}.       */ | 
