If ng-model becomes string, try to convert to float