Automatic CSRF protection for Symfony apps using AngularJS