Created
July 6, 2015 19:58
-
-
Save erikfig/ab29aec1b53a512d01a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var my_app = angular.module('myApp', [/* dependencies */]); | |
my_app.config(function($httpProvider) { | |
$httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment