fix($http): send GET requests by default

Fixes #5985
Closes #6401
This commit is contained in:
Pawel Kozlowski
2014-02-21 22:24:27 +01:00
committed by Igor Minar
parent 2f45133393
commit 267b217376
2 changed files with 15 additions and 0 deletions

View File

@@ -664,6 +664,7 @@ function $HttpProvider() {
*/
function $http(requestConfig) {
var config = {
method: 'get',
transformRequest: defaults.transformRequest,
transformResponse: defaults.transformResponse
};