angular code for chat

Cancelado Publicado Jan 24, 2016 Pagado a la entrega
Cancelado Pagado a la entrega

I've got a stream of messages coming from twilio chat app.

that i'm passing to angular with the following

for (i = 0; i < [url removed, login to view]; i++) {

var message = messages[i];

[url removed, login to view]('Author:' + [url removed, login to view]);

var mobj = {}

mobj['body'] = [url removed, login to view];

mobj['author'] = [url removed, login to view];

mobj['datetime'] = moment([url removed, login to view]).tz('{{ [url removed, login to view] }}').format();

$[url removed, login to view](mobj)

}

to generate the following below.

[{"body":"sadfads","author":"2Yx5myEwotLB296h6hXXyA","datetime":"2016-01-24T02:28:53+01:00"},{"body":"fsad","author":"2Yx5myEwotLB296h6hXXyA","datetime":"2016-01-24T03:27:33+01:00"},{"body":"d","author":"2Yx5myEwotLB296h6hXXyA","datetime":"2016-01-24T06:40:38+01:00"},{"body":"tfrejj","author":"2Yx5myEwotLB296h6hXXyA","datetime":"2016-01-24T09:49:49+01:00"}]

Need someone to code out a way to sort by datetime and group them according to author.

My end goal is to show the chat as per the screenshot where the messages are grouped by author

AngularJS

Nº del proyecto: #9442698

Sobre el proyecto

3 propuestas Proyecto remoto Activo Jan 24, 2016

3 freelancers están ofertando un promedio de $111 por este trabajo

mradi180

Hi, I just want to tell you that i am an expert MEAN stack developer and you can take a look on my profile to take a look on my knowledge and my skills, I am able to done this task within in less than one hour, Come t Más

$78 SGD en 1 día
(31 comentarios)
7.3
nguyenban88

Need someone to code out a way to sort by datetime and group them according to author. My end goal is to show the chat as per the screenshot where the messages are grouped by author

$100 SGD en 1 día
(3 comentarios)
3.4
sacgro17

Hi , I am interested in your task. I am expert with 4 years of experience in web development with jquery, java, php, spring, html, bootstrap, css. node js angular js etc.

$155 SGD en 3 días
(0 comentarios)
0.0