mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
13 lines
400 B
Text
13 lines
400 B
Text
@ngdoc error
|
|
@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.
|