Once i rendered data from backend i want to remove element id
from the array how can i achieve that using angularjs ?
ctrl.js
$scope.array = [{
"name": "Java Class",
"id": "javaClass",
"createdBy": "shu",
"__v": 0,
"properties": [{
"label": "Java Package Name",
"type": "String",
"editable": true,
"binding": {
"type": "property",
"name": "camunda:class"
}
}],
"appliesTo": ["bpmn:ServiceTask"]
}]
您可以使用delete
delete $scope.array[0].id;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.