title: Angular.js - ng-model overwrite my ng-value on text-input
body: <p>I'll start off with mentioning I'm very new to Angular so I'm probably not doing things in the correct "Angular way".</p>
  
  <p>I have the following ng-repeat looping through some data - the correct data is being returned.</p>
  
  <pre><code>&lt;tr ng-repeat="attribute in attributeCategory.attributes"&gt;
      &lt;td&gt;
          {{attribute.name}}
      &lt;/td&gt;
      &lt;td&gt;
          &lt;input type="checkbox" ng-model="attr.enabled" ng-checked="{{attribute.parameters.enabled}}" ng-change="updateAttribute(attr, {{attribute.attribute_id}})"/&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;input type="checkbox" ng-model="attr.normalise" ng-checked="{{attribute.parameters.normalise}}" ng-change="updateAttribute(attr, {{attribute.attribute_id}})"/&gt;
      &lt;/td&gt;                
      &lt;td&gt;
          &lt;input type="checkbox" ng-model="attr.reverse" ng-checked="{{attribute.parameters.reverse}}" ng-change="updateAttribute(attr, {{attribute.attribute_id}})"/&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;input type="text" ng-model="attr.min_threshold" ng-value="{{attribute.parameters.min_threshold}}" ng-change="updateAttribute(attr, {{attribute.attribute_id}})"/&gt;                    
      &lt;/td&gt;
      &lt;td&gt;
          &lt;input type="text" ng-model="attr.max_threshold" ng-value="{{attribute.parameters.max_threshold}}" ng-change="updateAttribute(attr, {{attribute.attribute_id}})"/&gt;                    
      &lt;/td&gt;
  &lt;tr&gt;
  </code></pre>
  
  <p>For some reason the ng-value on the input="text" fields doesn't show. I need to pass through the data from the field in to the updateAttribute() function, which is why I'm binding the model to the attr variable that I'm passing through. This variable is then being used for an API call.</p>
  
  <p>If I take the model off the text fields I have the correct values, but I need someone of getting that value and passing it through to the function.</p>
  
  <p>If there is another way that I should be doing this please let me know :)</p>