I am using angular-kendo. Is there any option to set the id
of the generated element.
<div ng-controller="HomeCtrl" kendo-tree-view k-options="subjects"></div>
Becomes an ul
but I would like to set the id
of this ul
in some way.
I am using angular-kendo. Is there any option to set the id
of the generated element.
<div ng-controller="HomeCtrl" kendo-tree-view k-options="subjects"></div>
Becomes an ul
but I would like to set the id
of this ul
in some way.
You cannot set the "id" of the generated
ul
element. However you can set theid
of thediv
itself:Here is a live demo: http://jsbin.com/ezOPUta/2/edit