Local events on a MEAN stack