Skip to content
This repository has been archived by the owner. It is now read-only.
🅰️ Easily add csrf tokens to forms in angular templates.
CoffeeScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


If you use angular and templates with forms that need csrf tokens, this directive makes it easy to use them without polluting your code.

Install with bower:

bower install angular-add-csrf-token --save

Add to your

#= require angular-add-csrf-token

and to your module's dependencies:

angular.module('your-app', [

Then add the directive to your form:

<form ... add-csrf-token>

And you're done!

You can’t perform that action at this time.