Am retrieving data from my server in the format below
[{id: 1, title:"hello world", date:"2014-10-11",location: "The Room"},{id: 1, title:"hello world2", date:"2014-10-11",location: "The Room"}, {id: 1, title:"hello world3", date:"2014-10-11",location: "The Room"}]
Am try to display the data in my view like this
- 2014-10-11
- hello world
- hello world2
- hello world3
I tried using the example here How can I group data with an Angular filter? in the answer by @Plantface, but instead the data is displayed in my view like this
- 2014-10-11
- hello world
- hello world2
hello world3
2014-10-11
- hello world
- hello world2
hello world3
2014-10-11
- hello world
- hello world2
- hello world3
The date seems to be repeating when is should render once. Am i missing something?