【发布时间】:2016-09-08 10:14:37
【问题描述】:
我有如下回复
回应:
response:
{"json":
{"response":
{"servicetype":"",
"functiontype":"",
"statuscode":"0",
"statusmessage":"Success",
"data":[{"graphtype":"piechart",
"xlabel":"state",
"ylabel":"count",
"s1":"contact",
"s2":"User",
"data":["Total Contacts: 1 Users: 20",
[{"x":"Karnataka","s1":"1","s2":"15","lat":"12.9716","long":"77.5946"},
{"x":"New Delhi","s1":"0","s2":"5","lat":"28.6139","long":"77.2090"}]]}]}}}
我需要使用 ng-repeat 动态插入表格行名、表格数据名。
我的桌子应该是这样的。
State Contact User
Karnatka 1 15
New Delhi 0 5
【问题讨论】:
-
你从哪里得到这个回复?
标签: angularjs json object angularjs-ng-repeat ng-repeat