Skip to content

Commit

Permalink
docs(ngForm): clarify the purpose of ngForm
Browse files Browse the repository at this point in the history
Related to angular#6704 and angular#2513.
  • Loading branch information
tbosch committed Apr 3, 2014
1 parent 2e3a972 commit 5491667
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ng/directive/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<form>` 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.
*
Expand Down

0 comments on commit 5491667

Please sign in to comment.