RailsCasts Pro episodes are now free!

Learn more or hide this

Sean Dixon's Profile

GitHub User: smd686s

Site: twitter.com/seanmdixon

Comments by Sean Dixon

Avatar

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.