centresource/angularjs_rails_demo — Issue #1: IE - Expected Identifier in controller.js
Author: nddeluca
Created: 2011-11-02 20:24:22+00:00
State: open

An error is thrown in IE due to this line:

$xhr.defaults.headers.delete['X-CSRF-Token'] = token;

I believe it's due to delete being a keyword - is there a way around this? The issue causes the example not to work in IE.