Hey all,
I am calling a web api from angularjs and iterating the JSON object but at 
the time of iteration .It is giving some unexpected  terms like 
$get,$update,$remove etc.
How can I resolve this problem.


$scope.Customers=customerService.getCustomers($scope.limit, 
$scope.offset).$promise.then(function (data) {
alert(data);
for (var index in JSONData[0]) {
                                alert(index);
                                if (index != "AddressDetail")
                                {
                                    row += index + ',';
                                }
                                if (index == "AddressDetail") {
                                    for (var indexx in 
arrData[0]["AddressDetail"])
                                    {
                                        if (indexx == "addressDetailId") {
                                            continue;
                                        }
                                        row += indexx + ',';
                                    }
                                }
                                //alert(index);
                            }   

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to