Here is my jsfidder: Demo.
I'm trying to use the AngularJS Treeview and it's the official demo .
<div
data-angular-treeview="true"
data-tree-model="data"
data-node-id="value"
data-node-label="value.artifactId"
data-node-children="children" >
</div>
I want to set the node name with the data in value. For example, the name of node
"value": {artifactId": "mock", "groupId": "com.myproject", "scope": "compile", "type": "jar", "version": "0.0.1-SNAPSHOT"}
should be mock.0.0.1-SNAPSHOT . I want to know how to set the value of the data-node-label.