aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/ngOptions
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/error/ngOptions')
-rw-r--r--docs/content/error/ngOptions/iexp.ngdoc9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/content/error/ngOptions/iexp.ngdoc b/docs/content/error/ngOptions/iexp.ngdoc
index 4fc4b8d2..a4515048 100644
--- a/docs/content/error/ngOptions/iexp.ngdoc
+++ b/docs/content/error/ngOptions/iexp.ngdoc
@@ -2,3 +2,12 @@
@name ngOptions:iexp
@fullName Invalid Expression
@description
+This error occurs when 'ngOptions' is passed an expression that isn't in an expected form.
+
+Here's an example of correct syntax:
+
+```
+<select ng-model="color" ng-options="c.name for c in colors">
+```
+
+For more information on valid expression syntax, see 'ngOptions' in {@link api/ng.directive:select select} directive docs.