From 9a21050b436011693e4eb7e3ace1300a1b0fd2d4 Mon Sep 17 00:00:00 2001 From: David Bennett Date: Mon, 23 Sep 2013 21:45:48 -0400 Subject: docs(angular.Module): fix controller and directive method parameters --- src/ng/controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ng/controller.js') diff --git a/src/ng/controller.js b/src/ng/controller.js index 0474e766..d6dedb9b 100644 --- a/src/ng/controller.js +++ b/src/ng/controller.js @@ -18,7 +18,8 @@ function $ControllerProvider() { * @ngdoc function * @name ng.$controllerProvider#register * @methodOf ng.$controllerProvider - * @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|Array} constructor Controller constructor fn (optionally decorated with DI * annotations in the array notation). */ -- cgit v1.2.3