use tree w/ angular directive