title: Multiple ng-model from one ng
body: <p>Dear all I am creating a checkbox where it will show the name of multiple item with its price, user can choose what he/she wants. In ng-model I need both the name of the item and the price. Here is one sample code I found. </p>
  
  <pre><code>    &lt;div class="checkbox" ng-repeat="item in items"&gt;
        &lt;label&gt;
          &lt;input ng-model="data[item.name + '||' + item.price]" type="checkbox" id="{{item.id}}"&gt;
          {{item.name}} with {{item.price | currency}}
        &lt;/label&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>And later on used string splitter to get the values. Is there any way I can get item.name and item.price using two different ng-model ?  </p>