Skip to content

Instantly share code, notes, and snippets.

@DSchau
Created July 27, 2016 15:19
Show Gist options
  • Save DSchau/e0c4f086719911361f6ce66357b94b50 to your computer and use it in GitHub Desktop.
Save DSchau/e0c4f086719911361f6ce66357b94b50 to your computer and use it in GitHub Desktop.
authentication interceptor
export function AuthenticationInterceptor($log) {
'ngInject';
return {
request(config) {
$log.debug('intercepted');
return config;
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment