2

I downloaded the angular-ui-tree package and installed it in a webserver. I can bring up the example pages fine in my browser, but all the click actions on the buttons (to collapse/expand the tree, add node etc) do not work. I don't get any errors in firebug. If I point my browser at the public page for the tree component ( https://jimliu.github.io/angular-ui-tree/index.html) it does work.

I did some debugging and found that the problem is when ng-repeat is called for a ui-tree-node element, an ng-click action does not work. In the code below, the test() function is in my controller and it gets executed if I remove the ui-tree-node or ng-repeat tags.

<li ui-tree-node ng-repeat="node in mydata" > 
    <a  ng-click="test()" >{{node.title}} </a>
</li>

Is this a bug in angular tree component? Is there some way I can fix this in my environment?

igraf
  • 81
  • 1
  • 5