HTML脚本
<div>定义的维度:</div> <div ng-repeat="item in dimensions"> {{item}} </div> <div>定义的度量:</div> <div ng-repeat="item in measures"> {{item}} </div> <div>数据:</div> <div ng-repeat="item in data"> {{item['省份']}}: {{item['当日零售金额']}} </div>
编译后脚本
console.log(scope.dimensions); console.log(scope.measures); console.log(scope.data);