Fixed differences between app requests and html requests and made more
angular enhancements including a navbar controller