Angular JS integration with Ruby on rails APP