modified the files and rails app works with ng jsonp