Refactor front end code to use angularJS. Use coffee-middleware to build front end code in coffeescript