angular提交表单http写法
提交带参数的数据httpPost: function (data, url) { var deferred = $q.defer(); $http({ method: 'POST', url: url, headers: {'Content-Type': 'application/x-www-form-urlencoded'},