Single page application with Nodejs and Angularjs