Skip to content

Commit d12c48b

Browse files
Jacob Carternetman92
Jacob Carter
authored andcommitted
docs(ngOptions): close select element
Close select element in html example to stop errors occurring for copy/paste users Closes angular#12384
1 parent 7f2d8cc commit d12c48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/ngOptions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var ngOptionsMinErr = minErr('ngOptions');
6464
* Consider the following example:
6565
*
6666
* ```html
67-
* <select ng-options="item.subItem as item.label for item in values track by item.id" ng-model="selected">
67+
* <select ng-options="item.subItem as item.label for item in values track by item.id" ng-model="selected"></select>
6868
* ```
6969
*
7070
* ```js

0 commit comments

Comments
 (0)