<p ng-repeat="(key,value) in selectedLoanApplicationDetails track by key">
{{key}}--- {{value}}
</p>
$scope.selectedLoanApplicationDetails = {
"Terms AND Conditions Accepted":"No",
"LoanId":"a2NZ0000002CfmxMAC",
"Loan Type":"INSTALLMENT",
"Loan Status":"",
"Loan Application Name":"Loan-0005",
"Active":"Yes"
}
上面的结果是 0 --- [ 1 --- { 2 --- 3 --- 4 --- 5 --- 6--米 7 ---秒 8- 9 --- A 10 --- N 11 --- D 12 --- 13 --- C
我尝试使用$ index跟踪,但输出相同。有人可以帮忙吗?谢谢