Angular TreeViewNode With Checkbox #Installation Copy the script into your project and add a script and link tag to your page. Add a dependency to your application module.
<pre>angular.module('myApp', ['treeView']);</pre>
#Usage Attributes of angular treeview are below.
- data:If Your Data is static set your data in data Attribute
- fetch-url:If Your Data Load From other url set url in fetch-url Attribute
- fetch-type:set Type url get or post
- my-selection:set Init Select Items
#Here is a simple example. #Url And get Type
<tree-view
fetch-url="/data/lst"
fetch-type="get"
ng-model="selectItems"
my-selection='[{"id":158,"name":"items","children":[]}]'
>
</tree-view>
#LocalData:
<tree-view
data="[[lstItems]]"
ng-model="selectItems"
my-selection='[{"id":158,"name":"items","children":[]}]'
>
</tree-view>