title: How to give value dynamically for ng-model in angularjs?
body: <p>Here I am generating an html element dynamically using <code>ng-repeat</code> eg</p>
  
  <pre><code>&lt;div ng-repeat="type in types"&gt;
      &lt;input  type="checkbox" ng-model="{{type}}" /&gt;{{ type }}
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to set the type value for ng-model. Is it possible or else I want to set that type value for ng-true-value like this</p>
  
  <pre><code>&lt;div ng-repeat="type in types"&gt;
      &lt;input  type="checkbox" ng-model="{{type}}" ng-true-value="{{type}}" /&gt;{{ type }}
  &lt;/div&gt;
  </code></pre>