Implement a simple tree structure using AngularJS embedded templates