应该使用数组排序: JS中$filter('orderBy')(persons, ['name','age'], false); HTML中ng-repeat="person in persons | orderBy:['name','age']:false".
確定! 回上一頁