Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 63154c3

Browse files
rosyatrandomgkalpak
authored andcommitted
docs($compile): minor typo/style correction
Closes #13864
1 parent 37cb9ad commit 63154c3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/ng/compile.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
408408
* <div class="alert alert-warning">
409409
* **Note:** The compile function cannot handle directives that recursively use themselves in their
410-
* own templates or compile functions. Compiling these directives results in an infinite loop and a
410+
* own templates or compile functions. Compiling these directives results in an infinite loop and
411411
* stack overflow errors.
412412
*
413413
* This can be avoided by manually using $compile in the postLink function to imperatively compile
@@ -634,10 +634,9 @@
634634
* The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the
635635
* `link()` or `compile()` functions. It has a variety of uses.
636636
*
637-
* accessing *Normalized attribute names:*
638-
* Directives like 'ngBind' can be expressed in many ways: 'ng:bind', `data-ng-bind`, or 'x-ng-bind'.
639-
* the attributes object allows for normalized access to
640-
* the attributes.
637+
* * *Accessing normalized attribute names:* Directives like 'ngBind' can be expressed in many ways:
638+
* 'ng:bind', `data-ng-bind`, or 'x-ng-bind'. The attributes object allows for normalized access
639+
* to the attributes.
641640
*
642641
* * *Directive inter-communication:* All directives share the same instance of the attributes
643642
* object which allows the directives to use the attributes object as inter directive

0 commit comments

Comments
 (0)