Binded angular model with the socket data.