$scope.arrays= [
{
form:'Arrays accessing',
name:["array1","array2","array3","array4"]
},
我需要访问名称中的array1、array2、array3、array4,我尝试了下面的代码,但我只得到了第一个array1
$scope.addField = {};
$scope.addField.types = $scope.arrays[0].name[0];