Sandy V
asked on
loop through an AngularJS object & remove data
I have an Ienumerable object that i am storing in AngularJS $scope(say Product), i need to loop through the $scope.Product object & remove some data if it meets a particular criteria. How do i do that( let's say if $scope.Product.ID = 5 then remove it from Ienumerable object)
Probably that you are looking for let propKey in $scope.Product and delete function.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.