Sample SPA todo app with Rails 4, API and AngularJS