Angular.js – Chat Client with socket.io, flashing title and loading bar
Regarding to this post I want to show you how you can set up a chat-client to a node.js-server via angular.js. We will take a look into the lightweight architecture angular is giving you and how to set up the services and controllers the right way. Additionally we will use the loading-bar-module to give the user information about what his message is doing after sending it and we will flash the homepage title if a new message arrives. The communication is done with socket-io.js and we use jQuery for the basic javascript-things. Enjoy!