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

Commit f6fa7c9

Browse files
xdhmoorepetebacondarwin
authored andcommitted
docs(guide/directive): clarify sentence meaning
Closes #4873
1 parent 938b2e1 commit f6fa7c9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/content/guide/directive.ngdoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,11 @@ Doing so generally makes it easier to determine what directives a given element
116116
</div>
117117

118118
<div class="alert alert-success">
119-
**Best Practice:** Comment directives were commonly used in places where the DOM API limits (e.g. inside `<table>` elements)
120-
to create directives that spanned multiple elements. AngularJS 1.2 introduces
121-
{@link api/ng.directive:ngRepeat `ng-repeat-start` and `ng-repeat-end`} as a better solution to this problem.
122-
Developers are encouraged to use this over custom comment directives when possible.
119+
**Best Practice:** Comment directives were commonly used in places where the DOM API limits the
120+
ability to create directives that spanned multiple elements (e.g. inside `<table>` elements).
121+
AngularJS 1.2 introduces {@link api/ng.directive:ngRepeat `ng-repeat-start` and `ng-repeat-end`}
122+
as a better solution to this problem. Developers are encouraged to use this over custom comment
123+
directives when possible.
123124
</div>
124125

125126

0 commit comments

Comments
 (0)