Made messages sync using angular as well