all files / angular-http-backup/src/ httpbackup.module.js

100% Statements 6/6
100% Branches 4/4
100% Functions 1/1
100% Lines 3/3
1 branch Ignored     
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18                               
/**
 * Created by Henry Zou on 10/7/2016.
 *
 *
 * USAGE:
 * In the config block, register the Interceptor
 * $httpProvider.interceptors.push( 'HttpBackupInterceptor' );
 *
 */
 
import httpbackupInterceptor from './httpbackup.interceptor';
 
export default
angular.module( 'httpbackup', [] )
  .factory( 'httpBackupInterceptor', httpbackupInterceptor );