Refactored socket error modal into new SailsSocketCtrl
Mods to angular sails socket.io factory; Todo delete