Permalink
Browse files
docs($compile): minor typo/style correction
- Loading branch information
Showing
with
4 additions
and
5 deletions.
-
+4
−5
src/ng/compile.js
|
|
@@ -385,7 +385,7 @@ |
|
|
|
|
|
* <div class="alert alert-warning"> |
|
|
* **Note:** The compile function cannot handle directives that recursively use themselves in their |
|
|
* own templates or compile functions. Compiling these directives results in an infinite loop and a |
|
|
* own templates or compile functions. Compiling these directives results in an infinite loop and |
|
|
* stack overflow errors. |
|
|
* |
|
|
* This can be avoided by manually using $compile in the postLink function to imperatively compile |
|
|
@@ -584,10 +584,9 @@ |
|
|
* The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the |
|
|
* `link()` or `compile()` functions. It has a variety of uses. |
|
|
* |
|
|
* accessing *Normalized attribute names:* |
|
|
* Directives like 'ngBind' can be expressed in many ways: 'ng:bind', `data-ng-bind`, or 'x-ng-bind'. |
|
|
* the attributes object allows for normalized access to |
|
|
* the attributes. |
|
|
* * *Accessing normalized attribute names:* Directives like 'ngBind' can be expressed in many ways: |
|
|
* 'ng:bind', `data-ng-bind`, or 'x-ng-bind'. The attributes object allows for normalized access |
|
|
* to the attributes. |
|
|
* |
|
|
* * *Directive inter-communication:* All directives share the same instance of the attributes |
|
|
* object which allows the directives to use the attributes object as inter directive |
|
|
|