CSRF protection with Pyramid and Angular JS