```
angular.module('app',[])
.factory('httpRequestInterceptor','APP_VERSION', function (APP_VERSION) {
    var DNAME = sessionStorage.getItem('DNAME');
    var DID = localStorage.getItem('uid');
    return {
      request: function (config) {      
        config.headers['Browser-Agent'] = 'Abc/'+DNAME+'/'+DID+'/'+APP_VERSION+'';
        return config;
      }
    };
})
.config(function($httpProvider) {
    $httpProvider.interceptors.push('httpRequestInterceptor');
});

```

Im gettig the below error. 

> 
> Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
>  Error: [$injector:strictdi] function($httpProvider) is not using explicit annotation and cannot be invoked in strict mode
> 
> 
>