如何创建公式以编辑每个发票的值。项目 - > item_name使用AngularJS?
invoices: {
_id: "78327837"
name: "ajay"
invoice_no: "23"
items: [
0: {
item_name: "nasm"
quantity: "god"
}]
}
答案 0 :(得分:3)
<input type="text" ng-repeat="item in invoice.items" ng-model="item.item_name">