Todo SPA wrote in AngularJS with Rails as backend API