# angular-ui-tree **Repository Path**: zzhh-third-party-code/angular-ui-tree ## Basic Information - **Project Name**: angular-ui-tree - **Description**: A tree component for AngularJS, without jQuery as dependency. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-30 - **Last Updated**: 2022-01-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Angular UI Tree ====================== [](https://travis-ci.org/angular-ui-tree/angular-ui-tree) [](https://gitter.im/angular-ui-tree/angular-ui-tree?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) Angular UI Tree is an AngularJS UI component that can sort nested lists, provides drag & drop support and doesn't depend on jQuery. If you are a user who uses `angular-nestedSortable`, this is [How to migrate From v1.x to v2.0](https://github.com/JimLiu/angular-ui-tree/wiki/Migrate-From-v1.x-to-v2.0). ### Considering Contributing? Read our contributing guidelines and become a contributing member of Angular UI Tree! [CONTRIBUTING](https://github.com/angular-ui-tree/angular-ui-tree/blob/master/CONTRIBUTING.md) ## Features - Uses the native AngularJS scope for data binding - Sorted and move items through the entire tree - Prevent elements from accepting child nodes ## Supported browsers The Angular UI Tree is tested with the following browsers: - Chrome (stable) - Firefox - IE 8, 9 and 10 For IE8 support, make sure you do the following: - include an [ES5 shim](https://github.com/es-shims/es5-shim) - make your [AngularJS application compatible with Internet Explorer](http://docs.angularjs.org/guide/ie) - use [jQuery 1.x](http://jquery.com/browser-support/) ## Demo Watch the Tree component in action on the [demo page](http://angular-ui-tree.github.io/angular-ui-tree/). ## Requirements - Angularjs ## Usage ### Download - Using [bower](http://bower.io/) to install it. `bower install angular-ui-tree` - [Download](https://github.com/angular-ui-tree/angular-ui-tree/archive/master.zip) from github. ### Load CSS Load the css file: `angular-ui-tree.min.css` in your application: ```html ``` ### Load Script Load the script file: `angular-ui-tree.js` or `angular-ui-tree.min.js` in your application: ```html ``` ### Code Add the sortable module as a dependency to your application module: ```js var myAppModule = angular.module('MyApp', ['ui.tree']) ``` Injecting `ui.tree`, `ui-tree-nodes`, `ui-tree-node`, `ui-tree-handle` to your html. #### HTML View or Templates ```html