angular digest cycle re-applied in socket.ready