Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 8 angularjs位置提供商internet explorer 8_Internet Explorer 8_Angularjs - Fatal编程技术网

Internet explorer 8 angularjs位置提供商internet explorer 8

Internet explorer 8 angularjs位置提供商internet explorer 8,internet-explorer-8,angularjs,Internet Explorer 8,Angularjs,我正在使用angular.js,在IE8上遇到了问题 它将我的站点从examplepage.local/the/path重定向到examplepage.local/#/the/path,并显示一个空白页面 我已经激活了HTML5模式 $locationProvider.html5Mode(false); 它在chrome或firefox等浏览器中运行良好。在angular的文档中说:“在传统浏览器中打开常规URL->重定向到hashbang URL”,因此这似乎是预期的行为 不过,这里有一些信

我正在使用angular.js,在IE8上遇到了问题

它将我的站点从examplepage.local/the/path重定向到examplepage.local/#/the/path,并显示一个空白页面

我已经激活了HTML5模式

$locationProvider.html5Mode(false);

它在chrome或firefox等浏览器中运行良好。

在angular的文档中说:“在传统浏览器中打开常规URL->重定向到hashbang URL”,因此这似乎是预期的行为

不过,这里有一些信息供您参考。一个人确实解决了这个问题,并贴了一个片段