Angular-Tree-View

A dynamic tree view directive for Angular 1.5.*

Tree View Item API

branch-name
String Optional

If set (on Tree View), specifies the property that will contain additional children.
This property is passed through to the Tree View Item so that it can be passed to additional Tree Views created as children of the item.

Since: Default Value:
callback
Function Optional

If set (on Tree View), specifies the name of the function on the root controller to invoke when an item is clicked.
The callback function accepts the item that was clicked as a parameter.
This property is passed through to the Tree View Item so that it can be passed to additional Tree Views created as children of the item.

Since: Default Value:
dataset-id
String Number Optional

Only necessary when multiple Tree Views are used in a single module.

If set (on Tree View), specifies the id to use to allow each Tree View within a single module to identify its own data without interfering with other Tree View controls.
This property is passed through to the Tree View Item so that it can be passed to additional Tree Views created as children of the item.

Since: Default Value:
item
Object Required

Identifies the item whose properties will be used to render the directive.

Since: Default Value: