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

Commit 5cb7d0e

Browse files
rosyatrandomgkalpak
authored andcommitted
docs($compile): minor typo/style correction
Closes #13864
1 parent a60bbc1 commit 5cb7d0e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/ng/compile.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385
386386
* <div class="alert alert-warning">
387387
* **Note:** The compile function cannot handle directives that recursively use themselves in their
388-
* own templates or compile functions. Compiling these directives results in an infinite loop and a
388+
* own templates or compile functions. Compiling these directives results in an infinite loop and
389389
* stack overflow errors.
390390
*
391391
* This can be avoided by manually using $compile in the postLink function to imperatively compile
@@ -584,10 +584,9 @@
584584
* The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the
585585
* `link()` or `compile()` functions. It has a variety of uses.
586586
*
587-
* accessing *Normalized attribute names:*
588-
* Directives like 'ngBind' can be expressed in many ways: 'ng:bind', `data-ng-bind`, or 'x-ng-bind'.
589-
* the attributes object allows for normalized access to
590-
* the attributes.
587+
* * *Accessing normalized attribute names:* Directives like 'ngBind' can be expressed in many ways:
588+
* 'ng:bind', `data-ng-bind`, or 'x-ng-bind'. The attributes object allows for normalized access
589+
* to the attributes.
591590
*
592591
* * *Directive inter-communication:* All directives share the same instance of the attributes
593592
* object which allows the directives to use the attributes object as inter directive

0 commit comments

Comments
 (0)