From 293cb1fc5df8b9399331a7c4859fa674ce8a20e6 Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Wed, 2 Apr 2014 17:23:13 -0700 Subject: [PATCH] docs(ngForm): clarify the purpose of ngForm Related to #6704 and #2513. --- src/ng/directive/form.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index 9983d367..d94d2c77 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -215,6 +215,10 @@ function FormController(element, attrs, $scope, $animate) { * 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. * + * Note: the purpose of `ngForm` is to group controls, + * but not to be a replacement for the `
` tag with all of its capabilities + * (e.g. posting to the server, ...). + * * @param {string=} ngForm|name Name of the form. If specified, the form controller will be published into * related scope, under this name. *