An example of how to use jstree with AngularJS