aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget/form.js
diff options
context:
space:
mode:
authorVojta Jina2012-02-27 16:28:12 -0800
committerVojta Jina2012-02-28 18:22:41 -0800
commit4370d756e4e758f0e95e83390f7555cb9f48e6fe (patch)
treeb899b73c22ede0c3858faba346b51ecbf8096222 /src/widget/form.js
parent4e83399570391fe4a41ce4dc27c8a191f761d26d (diff)
downloadangular.js-4370d756e4e758f0e95e83390f7555cb9f48e6fe.tar.bz2
refactor(directive.ngModel): rename emitValidity -> setValidity
Diffstat (limited to 'src/widget/form.js')
-rw-r--r--src/widget/form.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget/form.js b/src/widget/form.js
index 306581e9..24f4ff42 100644
--- a/src/widget/form.js
+++ b/src/widget/form.js
@@ -16,8 +16,8 @@
* - values are arrays of widgets that are invalid with given error.
*
* @description
- * Form is a controller that keeps track of all registered widgets.
- *
+ * `FormController` keeps track of all its widgets as well as state of them form, such as being valid/invalid or dirty/pristine.
+ *
* Each {@link angular.module.ng.$compileProvider.directive.form form} directive creates an instance
* of `FormController`.
*
@@ -123,7 +123,7 @@ FormController.prototype.registerWidget = function(widget, alias) {
* @scope
* @description
* Directive that instantiates
- * {@link angular.module.ng.$compileProvider.directive.form.FormController Form} controller.
+ * {@link angular.module.ng.$compileProvider.directive.form.FormController FormController}.
*
* If `name` attribute is specified, the controller is published to the scope as well.
*