integrated angular.js with socket.io