Skip to content
Permalink
Browse files

docs(guide): fix spaces

Closes #10539
  • Loading branch information
Olivier Giulieri authored and petebacondarwin committed Dec 21, 2014
1 parent 8928d02 commit e4f23c4d25af8ac881c96d55842c8ac2ffd93088
Showing with 2 additions and 2 deletions.
  1. +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>

0 comments on commit e4f23c4

Please sign in to comment.
You can’t perform that action at this time.