I've had some luck placing angular "apps" into separate partials that can be accessed as templates by AngularJS. If Rails renders server side, real data is used. If angular requests the "partial" via Ajax, I give it sample data that is removed when Angular binds to the template.
I've had some luck placing angular "apps" into separate partials that can be accessed as templates by AngularJS. If Rails renders server side, real data is used. If angular requests the "partial" via Ajax, I give it sample data that is removed when Angular binds to the template.