mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 07:14:44 +00:00
parent
938b2e1217
commit
f6fa7c9c95
1 changed files with 5 additions and 4 deletions
|
|
@ -116,10 +116,11 @@ Doing so generally makes it easier to determine what directives a given element
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="alert alert-success">
|
<div class="alert alert-success">
|
||||||
**Best Practice:** Comment directives were commonly used in places where the DOM API limits (e.g. inside `<table>` elements)
|
**Best Practice:** Comment directives were commonly used in places where the DOM API limits the
|
||||||
to create directives that spanned multiple elements. AngularJS 1.2 introduces
|
ability to create directives that spanned multiple elements (e.g. inside `<table>` elements).
|
||||||
{@link api/ng.directive:ngRepeat `ng-repeat-start` and `ng-repeat-end`} as a better solution to this problem.
|
AngularJS 1.2 introduces {@link api/ng.directive:ngRepeat `ng-repeat-start` and `ng-repeat-end`}
|
||||||
Developers are encouraged to use this over custom comment directives when possible.
|
as a better solution to this problem. Developers are encouraged to use this over custom comment
|
||||||
|
directives when possible.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue