Skip to content

Commit 51c516e

Browse files
austinoneilNarretz
authored andcommitted
docs(ngOptions): correct links
remove redundant link to ngOptions and add link to ngRepeat PR (angular#15117)
1 parent 51a2eb7 commit 51c516e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/directive/ngOptions.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ var ngOptionsMinErr = minErr('ngOptions');
1717
* elements for the `<select>` element using the array or object obtained by evaluating the
1818
* `ngOptions` comprehension expression.
1919
*
20-
* In many cases, `ngRepeat` can be used on `<option>` elements instead of {@link ng.directive:ngOptions
21-
* ngOptions} to achieve a similar result. However, `ngOptions` provides some benefits:
20+
* In many cases, {@link ng.directive:ngRepeat ngRepeat} can be used on `<option>` elements instead of
21+
* `ngOptions` to achieve a similar result. However, `ngOptions` provides some benefits:
2222
* - more flexibility in how the `<select>`'s model is assigned via the `select` **`as`** part of the
2323
* comprehension expression
2424
* - reduced memory consumption by not creating a new scope for each repeated instance

0 commit comments

Comments
 (0)