1
I got the field:
<div class="form-group">
<label style="color:white" for="valor">Valor</label>
<div class="input-group">
<input type="number" value = "0" class="form-control" step="any" name="valor" ng-model="contato.valor" required>
...
But the field is not initializing with the value set in value.
Can someone help me?
I believe he will consider
ng-model
. Try setting the default value in$scope.valor
or useng-value
.– BrTkCa