angularjs封装$http为factory的方法 angularjs有本身封装的ajax服务$http,因为用惯了jQuery的ajax,所以,自己封装了一下angularjs的$h angularjs封装$http