Added proxy between rails and angular.