diff options
| author | naomiblack | 2013-08-01 14:27:49 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-08-07 09:47:13 -0700 | 
| commit | e4530d11fbb2c6864c6b91d00fcd229940986a88 (patch) | |
| tree | 370b78e4c8b404c5ac355e6c9cc1be46b0786764 /docs/content/error/ngOptions/iexp.ngdoc | |
| parent | 88037ad6889081112c594c284d072d0c984a6af1 (diff) | |
| download | angular.js-e4530d11fbb2c6864c6b91d00fcd229940986a88.tar.bz2 | |
docs(error): added description for ngOptions/iexp.ngdoc
Closes #3431
Diffstat (limited to 'docs/content/error/ngOptions/iexp.ngdoc')
| -rw-r--r-- | docs/content/error/ngOptions/iexp.ngdoc | 9 | 
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. | 
