<a id="{{item.pt_id}}" href="#" ng-click="doDelete($event.target)">刪除</a> get
$scope.doDelete = function(target){string
$scope.filterKeys.pt_id = $( target ).attr("id");
if($scope.filterKeys.pt_id!=undefined){
if(confirm("肯定刪除該信息?")){
$http.get(con.host + "delete", {params: $scope.filterKeys}).success(function (data) {it
// alert(JSON.stringify(data));
$scope.doQuery();
})
}
}io
}event