Javascript 在Angularjs中发出https请求

Javascript 在Angularjs中发出https请求,javascript,angularjs,Javascript,Angularjs,在AngularJS中,我正在编写以下代码, $http.get(url)。然后 正在发送http请求,其中我的服务器配置为https。当使用$http.get时,我在firebug控制台中看到以下内容 阻止加载混合活动内容 在angularjs中发出https请求的方式是什么。找不到有关此主题的文档 编辑 我的确切密码是: $http.get(url).then(function(response) { return response;

在AngularJS中,我正在编写以下代码, $http.get(url)。然后

正在发送http请求,其中我的服务器配置为https。当使用$http.get时,我在firebug控制台中看到以下内容

阻止加载混合活动内容

在angularjs中发出https请求的方式是什么。找不到有关此主题的文档

编辑 我的确切密码是:

$http.get(url).then(function(response) {
                        return response;
                    });
firebug中显示的请求URL为: 获取

尝试此代码

删除http并以//localhost:8080/content启动


$http.get(url)。那么….
您可以添加一个
url
参数的示例吗?您请求的是什么url?这是什么样的响应?你是如何包含你的脚本的???@Maraboc,我使用了这样的相对路径:你的css文件也是这样吗??