title: Concatenation possible in ng-model?
body: <p>Just a simple question is it possible to concatenate a string called "id" inside the ng-model to variable product.id in angularjs? Is there a way a approach like this could actually work?</p>
  
  <p><strong>This works:</strong></p>
  
  <pre><code>ng-model="currentQuantity['id1']"
  </code></pre>
  
  <p><strong>This doesn't work:</strong></p>
  
  <pre><code>ng-model='currentQuantity[id + "" + product.id]'
  </code></pre>