Angularjs ng在另一个ng重复中重复

Angularjs ng在另一个ng重复中重复,angularjs,json,angularjs-ng-repeat,Angularjs,Json,Angularjs Ng Repeat,我有一些JSON数据,我正在加载到一个列表中,该列表在所述数据中包含子列表。JSON数据是使用get调用从API中提取的 “宠物”:[ { “选择”:{ “选择”:[ { $t:“哈肖特” }, { $t:“已更改” }, { $t:“家庭培训” } ] }, “地位”:{ “$t”:“A” }, “联系人”:{ “电话”:{ “$t”:“请仅发送电子邮件” }, “国家”:{ $t:“NC” }, “地址2”:{ }, “电子邮件”:{ “$t”:”techmed1@netzero.net"

我有一些JSON数据,我正在加载到一个列表中,该列表在所述数据中包含子列表。JSON数据是使用get调用从API中提取的

“宠物”:[
{
“选择”:{
“选择”:[
{
$t:“哈肖特”
},
{
$t:“已更改”
},
{
$t:“家庭培训”
}
]
},
“地位”:{
“$t”:“A”
},
“联系人”:{
“电话”:{
“$t”:“请仅发送电子邮件”
},
“国家”:{
$t:“NC”
},
“地址2”:{
},
“电子邮件”:{
“$t”:”techmed1@netzero.net"
},
“城市”:{
“$t”:“夏洛特”
},
“zip”:{
“$t”:“28226”
},
“传真”:{
},
“地址1”:{
}
},
“年龄”:{
“$t”:“高级”
},
“尺寸”:{
“$t”:“M”
},
“媒体”:{
“照片”:{
“照片”:[
{
“@size”:“pnt”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/1\/?胸围=1475677088&width=60&-pnt.jpg”,
@id:“1”
},
{
“@size”:“fpm”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/1\/?胸围=1475677088&width=95&-fpm.jpg”,
@id:“1”
},
{
“@size”:“x”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/1\/?胸围=1475677088&width=500&-x.jpg”,
@id:“1”
},
{
“@size”:“pn”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/1\/?胸围=1475677088&width=300&-pn.jpg”,
@id:“1”
},
{
“@size”:“t”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/1\/?胸围=1475677088&width=50&-t.jpg”,
@id:“1”
},
{
“@size”:“pnt”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/2\/?胸围=1475677088&width=60&-pnt.jpg”,
@id:“2”
},
{
“@size”:“fpm”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/2\/?胸围=1475677088&width=95&-fpm.jpg”,
@id:“2”
},
{
“@size”:“x”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/2\/?胸围=1475677088&width=500&-x.jpg”,
@id:“2”
},
{
“@size”:“pn”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/2\/?胸围=1475677088&width=300&-pn.jpg”,
@id:“2”
},
{
“@size”:“t”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/2\/?胸围=1475677088&width=50&-t.jpg”,
@id:“2”
},
{
“@size”:“pnt”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/3\/?胸围=1475677088&width=60&-pnt.jpg”,
@id:“3”
},
{
“@size”:“fpm”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/3\/?胸围=1475677088&width=95&-fpm.jpg”,
@id:“3”
},
{
“@size”:“x”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/3\/?胸围=1475677088&width=500&-x.jpg”,
@id:“3”
},
{
“@size”:“pn”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/3\/?胸围=1475677088&width=300&-pn.jpg”,
@id:“3”
},
{
“@size”:“t”,
“$t”:“http:\/\/photos.petfinder.com\/photos\/pets\/36298811\/3\/?胸围=1475677088&width=50&-t.jpg”,
@id:“3”
}
]
}
},
“id”:{
“$t”:“36298811”
},
“防护林”:{
$t:“多米诺骨牌”
},
“品种”:{
“品种”:{
“$t”:“国产中发”
}
},
“姓名”:{
$t:“多米诺骨牌”
},
“性”:{
“$t”:“M”
},
“说明”:{
“$t”:"多米诺是一只可爱的、健谈的小猫,有很多咕噜咕噜的声音。它从不遇到陌生人,会让孩子们抱着它到处走。\n它的FIV检测呈阳性,但我们从2009年起就把它救了出来,它从来没有出现过任何健康问题。它接受了绝育手术,并且接种了最新疫苗。我们认为它出生在20岁左右05-2006。必须是一只只只在室内的猫。它定期进行牙齿清洁;最后一次是2015年4月。对于任何想要一只可爱的小猫去爱和照顾的人来说,它都是一个很好的伴侣。”
},
“混合”:{
$t:“否”
},
“搁置”:{
$t:“NC773”
},
“上次更新”:{
“$t”:“2017-03-15T12:37:11Z”
},
“动物”:{
$t:“猫”
}
}        
]

您缺少媒体类型

<ol><li ng-repeat="pet in pets | orderBy: 'name.$t'">
<div>{{pet.name.$t}} - {{pet.animal.$t}}</div>
<div ng-repeat="pic in pet.media.photos.photo">{{pic.$t}}</div>
</li>
<ul></ul>
</ol>
  • {{pet.name.$t}}-{{pet.animal.$t} {{pic.$t