Rails Asset Sync & Angular Routes

added by JavaScript Kicks
10/16/2014 1:34:31 PM


AngularJS’ footprint has been expanding over the past few years and many popular backend application frameworks seamlessly integrate with AngularJS, such as Ruby on Rails. Keeping your AngularJS application within your Rails application is a common practice and helps simplify deployments. The Angular application should reside within the asset pipeline in order to take advantage of asset versioning. This way you don’t have to worry about stale code running in a client’s browser.