$http = angular.element(document.body).injector().get(‘$http’);
然后
$http.get(...) // or post or whatever
上一篇 AngularJS错误:$ injector:unpr未知提供程序
下一篇 为什么reflect.ValueOf不能在golang中使用Println打印出int的真实值
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号