标签: angularjs angularjs-ng-repeat ng-repeat angular-filters
.roster(ng-repeat="player in team.playerProfiles | orderBy: '-pRating' |filter: team.selected.playerId | limitTo: 1 " )
我意识到这不起作用。反正是否有条件检测team.selected.playerId是否存在并运行过滤器,如果它不存在,则执行orderBy?