Simplified ng-rails-csrf.js for our use case