Progressive enhancement with angularjs and rails