$ locationprovider不起作用 [英] $locationprovider is not working

查看:61
本文介绍了$ locationprovider不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的示例角度应用,我正在尝试使用

Here my sample angular app, i'm trying to remove the # from the address by using

$locationprovider

从地址中删除#。但是在我所有的角度应用程序中它并不适合我。

所以任何人都可以下载我的示例项目并使用$ locationprovider删除#并再次上传我。

即使 XMLHttpRequest 也无效。

. But it's not working for me in all my angular app.
so can anyone download my sample project and using the $locationprovider to remove the # and upload me again.
Even XMLHttpRequest are also not working.

推荐答案

locationprovider
locationprovider

。但是在我所有的角度应用程序中它并不适合我。

所以任何人都可以下载我的示例项目并使用

. But it's not working for me in all my angular app.
so can anyone download my sample project and using the


locationprovider删除#并再次上传我。

甚至 XMLHttpRequest 是也没有用。
locationprovider to remove the # and upload me again.
Even XMLHttpRequest are also not working.


如果你想从你必须使用的地址中删除'#'标签
IF you want to delete the '#' tag from the address you must use


这篇关于$ locationprovider不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆