I'm currently trying to create a small web app with Angular 2 as my front end and Rails 4 as my backend - my backend is just an API while my front-end is just sending out requests.
I ran into CSRF token authenticity errors today when trying to submit a post request - how do I add these CSRF headers into my Angular 2 headers?