News for hackers. Stuff that matters.
Re:How to Wire Up Ruby on Rails and AngularJS as a Single-Pa... by ewoutkleinsmann on Tuesday July 22, 2014 @11:37AM (#8069525)
We (10KB) have built our own CMS combining Rails and AngularJS. Our main goal for our CMS was to turn every website made with it in a Single-Page Application, but at the same time maintain support for server-side rendering.

We loved the combination of Rails and AngularJS, but we didn't like that we had to write a lot of stuff twice (ie. Rails routes & Angular routes, Rails controllers & Angular controllers). Therefore we have written quite some glue code to automatically generate AngularJS code from our Rails code. I have been wanting to make a full write-up of all our experience in combining Angular & Rails for a while now, but didn't get to it yet. I did write-up a quick and dirty way to automatically generate Angular Resources from you Rails controllers, though. (http://10kb.nl/blog/automatically-generate-angular-resources...)

And, if anyone has any questions about combining Rails & Angular feel free to shoot me an e-mail.

Re:How to Wire Up Ruby on Rails and AngularJS as a Single-Pa... by martindale on Tuesday July 22, 2014 @12:12PM (#8069711)
I'm building something like this, but in node: https://github.com/martindale/maki
Re:How to Wire Up Ruby on Rails and AngularJS as a Single-Pa... by jasonswett on Tuesday July 22, 2014 @11:47AM (#8069580)
That's an awesome idea. I'll definitely check your stuff out.