How to populate AngularJS $templateCache server-side with Rails
AngularJS custom directives are a great way to modularize front-end functionality. I think of each one as a Lego piece to be mix-and-matched for different solutions. One downside of the basic set up of directives is that directive templates are asynchronously…