playing with rails and angular