I have an input text on my html side,
<input ng-model="item.valueProperty"
ng-disabled="item.options.length>0"
type="text"
placeholder="List item value"
class="form-control"
required>
if item.options array has any item, my textbox value (item.valueProperty) will be set as key
But I want to this on html side via ng- directives.
I can not set it on javascript controller. is this possible?
item.valuePropertywill be "key"