dump247/angular.tree — pull request #2 by rikkertkoppes (2013-03-20 13:03:00+00:00)
Title: Added direct attribute and used $parse for event handling

I added a direct attribute to be able to prevent the need for modifier keys. E.g.

```html

```

will always use multiple selection

Furthermore, the `$event` is now sent along with the `select` handler. This way, one can do

```html

{{item.name}}

```

```javascript
$scope.selected = function (e) {
console.log(this.item.name + ' is selected: ' + this.$selected);
console.log('event',e);
};
```