added proxy in ng-app to proxy API requests to the Rails back end