像在標題中提到的我想按我的排列順序對我的表排序,而不是正常方式 - >按字母排序。 This is the Array with the Constants.
.constant("appConfig", {
"status": [
"In Work",
"Review",
"Again in Edit",
"Finis
我有一個由ngRepeat從變量開始的第一個。通過過濾器,而不是first.id_second它寫出second.name,它很好。現在我正在嘗試對列first.id_second進行排序,我希望它不按first.id_second排序,而是通過second.name排序。這是我的結構: var first = [{
"id": 0,
"id_second": "111"
}