Permalink
Browse files
docs(guide): fix spaces
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
docs/content/guide/forms.ngdoc
|
|
@@ -131,7 +131,7 @@ A form is an instance of {@link form.FormController FormController}. |
|
|
The form instance can optionally be published into the scope using the `name` attribute. |
|
|
|
|
|
Similarly, an input control that has the {@link ng.directive:ngModel ngModel} directive holds an |
|
|
instance of {@link ngModel.NgModelController NgModelController}.Such a control instance |
|
|
instance of {@link ngModel.NgModelController NgModelController}. Such a control instance |
|
|
can be published as a property of the form instance using the `name` attribute on the input control. |
|
|
The name attribute specifies the name of the property on the form instance. |
|
|
|
|
|
@@ -339,7 +339,7 @@ In the following example we create two directives: |
|
|
<div> |
|
|
Username: |
|
|
<input type="text" ng-model="name" name="name" username />{{name}}<br /> |
|
|
<span ng-show="form.name.$pending.username">Checking if this name is available ...</span> |
|
|
<span ng-show="form.name.$pending.username">Checking if this name is available...</span> |
|
|
<span ng-show="form.name.$error.username">This username is already taken!</span> |
|
|
</div> |
|
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.