docs(ngOptions): correct links

remove redundant link to ngOptions and add link to ngRepeat

PR (#15117)
This commit is contained in:
Austin O'Neil
2016-09-09 15:34:29 -06:00
committed by Martin Staffa
parent 51a2eb7d6f
commit 51c516e7d4
+2 -2
View File
@@ -17,8 +17,8 @@ var ngOptionsMinErr = minErr('ngOptions');
* elements for the `<select>` element using the array or object obtained by evaluating the
* `ngOptions` comprehension expression.
*
* In many cases, `ngRepeat` can be used on `<option>` elements instead of {@link ng.directive:ngOptions
* ngOptions} to achieve a similar result. However, `ngOptions` provides some benefits:
* In many cases, {@link ng.directive:ngRepeat ngRepeat} can be used on `<option>` elements instead of
* `ngOptions` to achieve a similar result. However, `ngOptions` provides some benefits:
* - more flexibility in how the `<select>`'s model is assigned via the `select` **`as`** part of the
* comprehension expression
* - reduced memory consumption by not creating a new scope for each repeated instance