Adding Collapse All and Expand All buttons on angular js tree

We can Collapse or Expand full angular ui tree by adding the buttons with the ng-controller scope

Add the id on the div tree is called in as

Call the expand and collapse functions in your angular controller as

You can see the working demo Here

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
Website