Skip to content

Instantly share code, notes, and snippets.

@casdr
Created May 19, 2015 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save casdr/f380b338d2920a060ccf to your computer and use it in GitHub Desktop.
Save casdr/f380b338d2920a060ccf to your computer and use it in GitHub Desktop.
app.config(["$httpProvider", function ( $httpProvider) {
$httpProvider.defaults.headers.common.jwt = 'Test';
}]);
// or
app.run(function ($http) {
$http.defaults.headers.common.jwt = 'Test';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment