how to integrate Agular.js with Ruby on Rails