摘要: $http服务是AngularJS系统自带的,可以用来进行网络通信、获取远程服务器的数据。要记住的是,$http是对浏览器XMLHttpRequest的封装,也就是说,它其实是Ajax。 $http(options).success(successFn).error(errorFn) options 阅读全文
posted @ 2018-05-14 16:13 pei~乐悠悠 阅读(242) 评论(0) 推荐(0) 编辑