whit this code (thank you emrebfy) i get the data, but how i can put this data on a table?
$scope.chiamataUno = function() {
var authdata = Base64.encode("DEMVSINT_ADMIN" + ":" + "Password01");
$http.defaults.headers.common["Authorization"] = "Basic " + authdata;
$http.get('http://demvsint-as1-sd.services.eni.intranet:8001/CaseManager/P8BPMREST/p8/bpm/v1/queues/DV_ResponsabileBSDL/workbaskets/Responsabile BSDL/queueelements/?cp=DCMSVS_CONN1').success(function(response) {
console.log(response);
var newArray = [];
for(var i=0;i<response.queueElements.length;i++)
{
var newObject = {
elementi:response.queueElements[i],
caseFolderId:response.queueElements[i].caseFolderId,
caseTaskId:response.queueElements[i].caseTaskId,
stepName:response.queueElements[i].stepName,
columns:response.queueElements[i].columns
};
newArray.push(newObject);
console.log("INIZIO OGGETTO");
console.log("Queue Elements oggetto caseFolderId " + newObject.caseFolderId);
console.log("Queue Elements oggetto caseTaskId " + newObject.caseTaskId);
console.log("Queue Elements oggetto stepName " + newObject.stepName);
console.log("columns oggetto DV_Caseidentifier_for_eni_OdA " + newObject.columns.DV_Caseidentifier_for_eni_OdA);
console.log("columns oggetto DV_EBELP_ODA " + newObject.columns.DV_EBELP_ODA);
console.log("columns oggetto DV_EINDT_ODA " + newObject.columns.DV_EINDT_ODA);
console.log("columns oggetto DV_MATNR_TXZ01_POS_ODA " + newObject.columns.DV_MATNR_TXZ01_POS_ODA);
console.log("columns oggetto DV_NAMECL_POS_ODA " + newObject.columns.DV_NAMECL_POS_ODA);
console.log("columns oggetto DV_NETPR_WAERS_POS_ODA " + newObject.columns.DV_NETPR_WAERS_POS_ODA);
console.log("columns oggetto DV_PEINH_POS " + newObject.columns.DV_PEINH_POS);
console.log("columns oggetto DV_MENGE_MEINS_POS_ODA " + newObject.columns.DV_MENGE_MEINS_POS_ODA);
console.log("FINE OGGETTO");
$scope.newObject = newObject;
$scope.newArray = newArray;
}
})
.error(function(response) {
alert("ERROR");
});