I need to use document.referer in my application, but the problem is that it not working in IE. According to this issue, it is a problem with IE and using APP_INITIALIZER might