[
{
"user_id":95507,
"social_id":null,
"type":2,
"spr_id":0,
"link_confirmed":null,
"sp":[
{
"id":"131556",
"user_id":"95507",
"spr_id":"1"
},
{
"id":"131557",
"user_id":"95507",
"spr_id":"2"
},
{
"id":"131558",
"user_id":"95507",
"spr_id":"3"
},
{
"id":"131559",
"user_id":"95507",
"spr_id":"4"
},
{
"id":"131560",
"user_id":"95507",
"spr_id":"5"
},
{
"id":"131561",
"user_id":"95507",
"spr_id":"7"
}
]
},
{
"user_id":95509,
"social_id":null,
"type":3,
"spr_id":1,
"link_confirmed":null,
"sp":[
]
},
{
"user_id":95510,
"social_id":null,
"type":3,
"spr_id":1,
"link_confirmed":null,
"sp":[
]
},
{
"user_id":95512,
"social_id":null,
"type":2,
"spr_id":0,
"link_confirmed":null,
"sp":[
{
"id":"131569",
"user_id":"95512",
"spr_id":"1"
},
{
"id":"131570",
"user_id":"95512",
"spr_id":"2"
},
{
"id":"131571",
"user_id":"95512",
"spr_id":"3"
}
]
},
{
"user_id":95513,
"social_id":null,
"type":3,
"spr_id":1,
"link_confirmed":null,
"sp":[
]
},
{
"user_id":96276,
"social_id":null,
"type":3,
"spr_id":1,
"link_confirmed":null,
"sp":[
]
},
{
"user_id":96277,
"social_id":null,
"type":3,
"spr_id":1,
"link_confirmed":null,
"sp":[
]
}
]
HTML
<tr ng-repeat="profile in profile_users | filter: { link_confirmed : '!' } | filter: filterExpressions track by $index">
<td>{{ profile.user_id }}</td>
<span ng-repeat="spd in profile.sp track by $index">
{{ (profile.type == 2) ? ($index >= 0 && profile.sp.length - 1 && $last-1) ? sp[spd.spr_id] + ", " : sp[spd.spr_id] : '' }}
</span>
</td>
</tr>
ng-repeat
прокомментировал показ в Internet Explorer при работе нормально на других AngularJS не знаю, почему я не внес изменений, у меня не работает. Пожалуйста, помогите мне, как я могу это исправить, заранее спасибо
Обновлен формат json для лучшего понимания, пожалуйста, посмотрите, пожалуйста, дайте мне знать, где я не прав
Обратите внимание, что только в Internet Explorer нет ничего плохого в другом браузере