Updated angular refactor. Switched server.js to use angular request handler.