Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-add-csrf-token

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 app.coffee:

#= require angular-add-csrf-token

and to your module's dependencies:

angular.module('your-app', [
  'stefansundin.add-csrf-token'
])

Then add the directive to your form:

<form ... add-csrf-token>

And you're done!

About

🅰️ Easily add csrf tokens to forms in angular templates.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages