Data synchronization framework for MEAN stack