This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$.param for AngularJs (Form Posting) #7590
Closed
Description
I'm currently having to use $.param
(JQuery) for my form post requests due to the backend server not being able to digest json requests.
It would be nice if AngularJs could add a helper function on the lines of JQuery's $.param
.
My form post requests are currently as follows:
$http({
url: ServerAddress+"/login",
data: $.param($scope.loginForm),
method: 'POST',
headers : {'Content-Type':'application/x-www-form-urlencoded; charset=UTF-8'}
})
This is currently the only reason I have a jquery dependency on my current app. It would be nice if AngularJs could provide a similar function.