diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index 35e7774e..2eae4c40 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -287,8 +287,6 @@ function FormController(element, attrs, $scope, $animate) { * hitting enter in any of the input fields will trigger the click handler on the *first* button or * input[type=submit] (`ngClick`) *and* a submit handler on the enclosing form (`ngSubmit`) * - * @param {string=} name Name of the form. If specified, the form controller will be published into - * related scope, under this name. * * ## Animation Hooks * @@ -366,6 +364,8 @@ function FormController(element, attrs, $scope, $animate) { * + * @param {string=} name Name of the form. If specified, the form controller will be published into + * related scope, under this name. */ var formDirectiveFactory = function(isNgForm) { return ['$timeout', function($timeout) {