I need to display a list of messages with a "header" which contain only de date of the messages below, something like this:
2014-12-24
Message 1
Message 2
Message 3
2014-12-21
Test 1
Test 2
etc.
I have the follow json:
[
    {
        created_at: "2014-12-24",
        message: "Message 1"
    },
    {
        created_at: "2014-12-24",
        message: "Message 2"
    },
    {
        created_at: "2014-12-24",
        message: "Message 3"
    },
    {
        created_at: "2014-12-21",
        message: "Test 1"
    },
    {
        created_at: "2014-12-21",
        message: "Test 2"
    },
]
How can I do that during iteration in a template using AngularJS?
Thanks!!