You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2025. It is now read-only.
<div><span class="hint">error in component <code ng:non-bindable="">ngOptions</code>
</span>
</div>
</h1>
<div><pre class="minerr-errmsg" error-display="Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}">Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}</pre>
<h2 id="description">Description</h2>
<div class="description"><div class="ngoptions-page ngoptions-iexp-page"><p>This error occurs when 'ngOptions' is passed an expression that isn't in an expected form.</p>
<p>Here's an example of correct syntax:</p>
<pre><code><select ng-model="color" ng-options="c.name for c in colors"></code></pre>
<p>For more information on valid expression syntax, see 'ngOptions' in <a href="api/ng.directive:select"><code>select</code></a> directive docs.</p>