diff options
| author | Peter Bacon Darwin | 2014-02-06 13:33:42 +0000 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:40 +0000 | 
| commit | 2e641ac49f121a6e2cc70bd3879930b44a8a7710 (patch) | |
| tree | 11d52a598b7de52f7c31a1cc4405cba53f0a46ea /src/ng/directive/form.js | |
| parent | 1ca22a3dc8a469dc81718e5f0ae28225a2b7f7b2 (diff) | |
| download | angular.js-2e641ac49f121a6e2cc70bd3879930b44a8a7710.tar.bz2 | |
docs(bike-shed-migration): convert doctype and names
Diffstat (limited to 'src/ng/directive/form.js')
| -rw-r--r-- | src/ng/directive/form.js | 33 | 
1 files changed, 14 insertions, 19 deletions
| diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index 86776ae7..31034730 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -10,8 +10,8 @@ var nullFormCtrl = {  };  /** - * @ngdoc object - * @name ng.directive:form.FormController + * @ngdoc type + * @name form.FormController   *   * @property {boolean} $pristine True if user has not interacted with the form yet.   * @property {boolean} $dirty True if user has already interacted with the form. @@ -76,9 +76,8 @@ function FormController(element, attrs) {    }    /** -   * @ngdoc function -   * @name ng.directive:form.FormController#$addControl -   * @methodOf ng.directive:form.FormController +   * @ngdoc method +   * @name form.FormController#$addControl     *     * @description     * Register a control with the form. @@ -97,9 +96,8 @@ function FormController(element, attrs) {    };    /** -   * @ngdoc function -   * @name ng.directive:form.FormController#$removeControl -   * @methodOf ng.directive:form.FormController +   * @ngdoc method +   * @name form.FormController#$removeControl     *     * @description     * Deregister a control from the form. @@ -118,9 +116,8 @@ function FormController(element, attrs) {    };    /** -   * @ngdoc function -   * @name ng.directive:form.FormController#$setValidity -   * @methodOf ng.directive:form.FormController +   * @ngdoc method +   * @name form.FormController#$setValidity     *     * @description     * Sets the validity of a form control. @@ -166,9 +163,8 @@ function FormController(element, attrs) {    };    /** -   * @ngdoc function -   * @name ng.directive:form.FormController#$setDirty -   * @methodOf ng.directive:form.FormController +   * @ngdoc method +   * @name form.FormController#$setDirty     *     * @description     * Sets the form to a dirty state. @@ -184,9 +180,8 @@ function FormController(element, attrs) {    };    /** -   * @ngdoc function -   * @name ng.directive:form.FormController#$setPristine -   * @methodOf ng.directive:form.FormController +   * @ngdoc method +   * @name form.FormController#$setPristine     *     * @description     * Sets the form to its pristine state. @@ -211,7 +206,7 @@ function FormController(element, attrs) {  /**   * @ngdoc directive - * @name ng.directive:ngForm + * @name ngForm   * @restrict EAC   *   * @description @@ -226,7 +221,7 @@ function FormController(element, attrs) {   /**   * @ngdoc directive - * @name ng.directive:form + * @name form   * @restrict E   *   * @description | 
