This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 407
407
408
408
* <div class="alert alert-warning">
409
409
* **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
411
411
* stack overflow errors.
412
412
*
413
413
* This can be avoided by manually using $compile in the postLink function to imperatively compile
634
634
* The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the
635
635
* `link()` or `compile()` functions. It has a variety of uses.
636
636
*
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.
641
640
*
642
641
* * *Directive inter-communication:* All directives share the same instance of the attributes
643
642
* object which allows the directives to use the attributes object as inter directive
You can’t perform that action at this time.
0 commit comments