practice app with rails and angularJs