whitespace
cleanup
Skip CSRF check for JSON requests.
cleanup
Twist Angular's arm a bit to play nice with Rails.
Format JSON readably.