Simple TODO lists using RoR json API and AngularJS