【文件属性】:
文件名称:Use-Hprose-In-Angularjs:如何在angularjs示例中使用hprose
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-25 02:15:54
Use-Hprose-In-Angular.js
如何在angularjs示例中使用hprose
如何在Angularjs中使用Hprose作为通讯中间件。
## 1。 下载hprose-html5
git clone https://github.com/hprose/hprose-html5
OR
bower install hprose-html5
## 2。 将hprose包括到项目中
< script type =" text/javascript " src =" hprose-html5.js " > </ script >
## 3。 在angular app.js中初始化hprose
( function ( ) {
angular . module ( 'myApp' , [ ] )
. service ( '$hprose' , [ f
【文件预览】:
Use-Hprose-In-Angularjs-master
----LICENSE(1KB)
----README.md(1KB)