Closed jasisk closed 9 years ago
Wow. This is like a better-tested version of what I was thinking about this morning.
:+1:
https://github.com/jasisk/angular-lusca-example
Assumes this PR is published at 1.2.0
but, otherwise, proves this in the context of an angular app.
Looks good! :+1:
This change introduces two new features to csrf:
cookie
option which, when configured, sets a cookie with the csrf tokenangular
option which, when true, sets the options based on the defaults defined in angular's $http