Disable select option with angular ng-options
<p>following the angular documentation</p>

<p><a href="https://code.angularjs.org/1.4.4/docs/api/ng/directive/ngOptions" rel="nofollow">ng-options guidelines</a></p>

<p>I write that part of code:</p>

<pre><code>&lt;select ng-model="model" ng-options="item.CODE as item.NAME disable when item.DISABLE for item in list" id="foo" name="foo" ng-change="change()"&gt;
</code></pre>

<p>but return me back this error:</p>

<blockquote>
  <p>Syntax Error: Token 'disable' is an unexpected token at column 11 of the expression [{3}] starting at [{4}].</p>
</blockquote>

<p>What I'm doing wrong?</p>