diff options
Diffstat (limited to 'src/loader.js')
| -rw-r--r-- | src/loader.js | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/src/loader.js b/src/loader.js index 915d338a..a239fa04 100644 --- a/src/loader.js +++ b/src/loader.js @@ -178,7 +178,8 @@ function setupModuleLoader(window) {             * @ngdoc method             * @name angular.Module#controller             * @methodOf angular.Module -           * @param {string} name Controller name. +           * @param {string|Object} name Controller name, or an object map of controllers where the +           *    keys are the names and the values are the constructors.             * @param {Function} constructor Controller constructor function.             * @description             * See {@link ng.$controllerProvider#register $controllerProvider.register()}. @@ -189,7 +190,8 @@ function setupModuleLoader(window) {             * @ngdoc method             * @name angular.Module#directive             * @methodOf angular.Module -           * @param {string} name directive name +           * @param {string|Object} name Directive name, or an object map of directives where the +           *    keys are the names and the values are the factories.             * @param {Function} directiveFactory Factory function for creating new instance of             * directives.             * @description | 
