$scope.selectIds=[];
$scope.updateSelection = function($event, id) {
if($event.target.checked){
$scope.selectIds.push( id);
}else{
var idx = $scope.selectIds.indexOf(id);
$scope.selectIds.splice(idx, 1);
}
}
$scope.dele=function(){
$http.get('../brand/delete.do?ids='+$scope.selectIds).success(
function(response){
if(response.success){
$scope.reloadList();
}
}
);
}