docs(ngForm): ensure correct attribute name in usage example

Closes #4611
This commit is contained in:
David Bennett 2013-10-26 18:18:53 +01:00 committed by Pete Bacon Darwin
parent e73bd40e85
commit 31ebeeef7d

View file

@ -206,7 +206,7 @@ function FormController(element, attrs) {
* does not allow nesting of form elements. It is useful to nest forms, for example if the validity of a
* sub-group of controls needs to be determined.
*
* @param {string=} name|ngForm Name of the form. If specified, the form controller will be published into
* @param {string=} ngForm|name Name of the form. If specified, the form controller will be published into
* related scope, under this name.
*
*/