mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-28 12:55:48 +08:00
docs(forms): show directive name instead of link path
This commit is contained in:
@@ -116,7 +116,7 @@ This ensures that the user is not distracted with an error until after interacti
|
|||||||
A form is an instance of {@link api/ng.directive:form.FormController FormController}.
|
A form is an instance of {@link api/ng.directive:form.FormController FormController}.
|
||||||
The form instance can optionally be published into the scope using the `name` attribute.
|
The form instance can optionally be published into the scope using the `name` attribute.
|
||||||
|
|
||||||
Similarly, an input control that has the {@link api/ng.directive:ngModel} directive holds an
|
Similarly, an input control that has the {@link api/ng.directive:ngModel ngModel} directive holds an
|
||||||
instance of {@link api/ng.directive:ngModel.NgModelController NgModelController}.
|
instance of {@link api/ng.directive:ngModel.NgModelController NgModelController}.
|
||||||
Such a control instance can be published as a property of the form instance using the `name` attribute
|
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.
|
on the input control. The name attribute specifies the name of the property on the form instance.
|
||||||
|
|||||||
Reference in New Issue
Block a user