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

Commit e4530d1

Browse files
naomiblackIgorMinar
authored andcommitted
docs(error): added description for ngOptions/iexp.ngdoc
Closes #3431
1 parent 88037ad commit e4530d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: docs/content/error/ngOptions/iexp.ngdoc

+9
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@
22
@name ngOptions:iexp
33
@fullName Invalid Expression
44
@description
5+
This error occurs when 'ngOptions' is passed an expression that isn't in an expected form.
6+
7+
Here's an example of correct syntax:
8+
9+
```
10+
<select ng-model="color" ng-options="c.name for c in colors">
11+
```
12+
13+
For more information on valid expression syntax, see 'ngOptions' in {@link api/ng.directive:select select} directive docs.

0 commit comments

Comments
 (0)