Single page app using Angular, Prerender and Sails