As per the Angular documentation
I tried to implement this piece of code:
<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()">
However, it resulted in the following error:
Syntax Error: Token 'disable' is an unexpected token at column 11 of the expression [{3}] starting at [{4}].
Can someone help me understand what I'm doing wrong?