A tree directive for the Angularjs framework.