Extending upon http://briantford.com/blog/angular-express.html