If vm.agentCommission
is 0 then I want the field to be blank, so the user dont have to remove the zero before typing.
I tried this:
<input ng-model="vm.agentCommission ? '' : vm.agentCommission" ....
But I get this:
Expression 'vm.agentCommission ? '' : vm.agentCommission' is non-assignable.
Is there a way to do this in angular?