thanks for your response.
As we pass parameter jquery to webmethod like below
"data: "{'selfdata':'" + selfData + "'}""
i need same thing in angularjs
i found solution as below shown
var req = {
method: 'POST',
url: "Default.aspx/getstring",
data: "{'selfdata':'" + i + "'}",
headers: {
'user-Token': 'Token value should b here',
'content-Type': 'Application/Json'
}
}
$http(req)
.success(function (data) {
alert(status.d);
})