I want to call a particular value in my app through AngularJS
here is my controller(js file)
//infocomnamebyid
$http.get('/csuv5.asmx/infocomname', {
params: {
id: $scope.additionalinfoparam.Id
}
})
.then(function (response) {
{
$scope.comnamebyinfo = response.data.info;
console.log(response.data.info);
}
});
}
the value is printing in console like this
[Object]
0
:
Object
comname
:
"QED Productions Pvt Ltd"
__proto__
:
Object
length
:
1
__proto__
:
Array[0]
but now I want to print the same on my label
<label></label>