We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 627180f commit 0517799Copy full SHA for 0517799
src/loader.js
@@ -328,7 +328,8 @@ function setupModuleLoader(window) {
328
* @ngdoc method
329
* @name angular.Module#component
330
* @module ng
331
- * @param {string} name Name of the component in camel-case (i.e. myComp which will match as my-comp)
+ * @param {string|Object} name Name of the component in camelCase (i.e. `myComp` which will match `<my-comp>`),
332
+ * or an object map of components where the keys are the names and the values are the component definition objects.
333
* @param {Object} options Component definition object (a simplified
334
* {@link ng.$compile#directive-definition-object directive definition object})
335
*
0 commit comments