first test with a catalogtree
using a local file to configure the catalog
Fixing rebasing glitches
Using templateCache for html snippets (non-working)
Working with partials, avoid infite loops

We took out modifications of 'val' inside watch function for 'val'
which resulted in infite loops (which were gracefully treated by
angular until now, but it was still bad). In place, we put the
corresponding variables to the scope.

We put the node and leaf html snippets in partials. To load this
partials, we use ng-include snippets at runtime (they are hard
coded in js, which will still changes), which are global to
the directive module.
Adding sample data with 400 entries to test performance
Adding tests to update Catalogtree on demand
Adding catalog tree to accordion
Adding more tests, still in recursive hell
Change example to bigger trees
Fixing the recursive bug...bad code
Using slightly different approach in directive. All in one template with ng-if
Removing unneeded injections
Adding example to show usage without root node
Replace ng-if with ng-switch in template

This reduces the number of watches that will be added to
the corresponding scopes. (each node/leaf will have one
watcher less)