@Rudhra wrote:
Hi Im using ionic for first time , actually Im trying to display the contact list from user and which the user will select few contacts say 5 and will delete it using "single" delete button. I tried it but it is deleting the first added and next added in list, but not the contact I selected through check-box. Please help me to achieve it. Im breaking my head.
{{y}}
Delete
Home
Add
$scope.add=function(phone){
$scope.phonelist.push($scope.phone);
$scope.phone='';
}$scope.remove=function(index){ $scope.phonelist.splice(index,1); }
}]);
Posts: 1
Participants: 1