This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ A form is an instance of {@link form.FormController FormController}.
131
131
The form instance can optionally be published into the scope using the `name` attribute.
132
132
133
133
Similarly, an input control that has the {@link ng.directive:ngModel ngModel} directive holds an
134
- instance of {@link ngModel.NgModelController NgModelController}.Such a control instance
134
+ instance of {@link ngModel.NgModelController NgModelController}. Such a control instance
135
135
can be published as a property of the form instance using the `name` attribute on the input control.
136
136
The name attribute specifies the name of the property on the form instance.
137
137
@@ -339,7 +339,7 @@ In the following example we create two directives:
339
339
<div>
340
340
Username:
341
341
<input type="text" ng-model="name" name="name" username />{{name}}<br />
342
- <span ng-show="form.name.$pending.username">Checking if this name is available ...</span>
342
+ <span ng-show="form.name.$pending.username">Checking if this name is available...</span>
343
343
<span ng-show="form.name.$error.username">This username is already taken!</span>
344
344
</div>
345
345
You can’t perform that action at this time.
0 commit comments