FlipList with Rails 4 backend/API and AngularJS Frontend