【文件属性】:
文件名称:angular-ajax:AngularJS Ajax 请求包装器
文件大小:492KB
文件格式:ZIP
更新时间:2021-07-19 21:22:43
JavaScript
Angular 异步 Ajax
AngularJS 异步 Ajax 请求包装器
用法
将“asyncAjax”模块添加到您的 Angular 应用程序
var myApp = angular . module ( 'myApp' , [ 'asyncAjax' ] )
将“$asyncAjax”服务发送到您的控制器
myApp . controller ( 'myController' , [
// controller dependencies
'$scope' , '$asyncAjax' ,
// controller function
function ( $scope , $asyncAjax ) {
var logRequestEvent = function ( event ) {
$scope .
【文件预览】:
angular-ajax-master
----readme.md(3KB)
----templates()
--------index.html(2KB)
----static()
--------js()
--------lib()
----wsgi.py(60B)
----.gitignore(6B)
----bower_components()
--------angularjs()
----a.py(970B)
----asyncAjax.js(7KB)