-1
當我鍵入Monday並單擊搜索時,我想獲取週一的所有JSON數據而不僅僅是第一行。我試過修改forEach函數,並在html中使用兩個ng-repeats。所以我想這是JSON數據結構? Fiddle。使用Angularjs顯示多個相同的JSON密鑰
"Monday": [{
"Name": "John",
"Address": "Street",
"Phone": "111",
"Status": "Sleep"
},
{
"Name": "Sam",
"Address": "Street2",
"Phone": "2",
"Status": "Awake"
}
],
"Tuesday": [{..............................
謝謝。 [小提琴](http://jsfiddle.net/al321/s4cLbL19/13/)。 –