Just a question: is it possible to combine a string with the name "id" inside the ng-model into the variable product.id in angularjs? Is there a way this approach could work?
It works:
ng-model="currentQuantity['id1']"
This does not work:
ng-model='currentQuantity[id + "" + product.id]'
source
share