Cross Site Ref fix to allow Angular JS to be able to interact with the Rails backend.