I know this sort of questions have been answered before also . But I still am not able get completely over it .
Via a server call I am getting a list back. I am trying to get the count of the list by length property.
But it is always undefined.
$http(request)
.success(function (response) {
if (response != "Failed!" && response != "FileAlreadyUploaded") {
$scope.pleaseWait = { "display": "none" };
console.log("Succeeds");
UploadDataServices.setInvalidRecordsCount(response.GroupMembershipInputList.length);
If I see in the browser console , I get to see the property.
What am I doing wrong here ?