Skip to content

Commit 858c1db

Browse files
committed
Update README.md
1 parent 2941d43 commit 858c1db

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,23 @@ IMPORTANT!:
7171

7272
The template is the inner html of the dx-tree directive, this is important to know so that you get it right when defining the dx-node. as such if you put the dx-tree directly on the ul, the dx-node must also be an ul (or ol).
7373

74+
## Install
75+
76+
Install with `bower`:
77+
78+
```shell
79+
bower install dotjem-angular-tree
80+
```
81+
82+
Add a `<script>` to your `index.html`:
83+
84+
```html
85+
<script src="/bower_components/dotjem-angular-tree/dotjem-angular-tree.js"></script>
86+
```
87+
88+
And add `dotjem.angular.tree` as a dependency for your app:
89+
90+
```javascript
91+
angular.module('myApp', ['dotjem.angular.tree']);
92+
```
93+

0 commit comments

Comments
 (0)