An angular service for using the sails socket api