Adding initial AngularJS setup, rewired some of the restful services.