I need to bind 1 model to 2 inputs. First input should be visible and i use it to set value to model
<input type="text" ng-model="ttl" class="form-control input-sm"/>
Second input hidden and i use it for form. I need to keep here actual value of model
<input type="text" name="ttl" value="{{ttl}}" class="form-control input-sm"/>
The problem is hidden input always empty.... How to fix it? Thanks.