AngularJS and RoR ToDo Application