setting up rails app with angular for front end