A crud app using angularJS with rails