An angular filter which can be used with [angular-ui-tree](https://github.com/jimliu/angular-ui-tree/)