a bit more progress
Add CSRF token to post request and reconfigure data object to enable posting from angular to rails.