jruby/rails driven backend api for node + angularjs fe