Rails backend + angularJS frontend