转自:https://www.cnblogs.com/best/tag/Angular/ 服务从代码直接与服务器进行交互,底层是通过实现,与中http服务从AngularJS代码直接与Web服务器进行交互,底层是通过AJAX实现,与jQuery中.ajax类似 通过$http封装后的方法: delete(url,[config]) 发送谓词为delete的异步请求 get(url,[config]) 发送谓词为get的异步请求 head(url,[config]) 发送谓词为head的异步请求…