<div ng-controller="ModelCtrl">
<h2>Model Tree</h2>
<div ng-class="{hidden: roots.length <= 1}">
<label for="select-root">Root <select id="select-root" ng-options="p.value as p.label for p in roots" ng-model="selectedRoot"></select></label>
</div>
<pre>
<bat-model-tree val="trees[selectedRoot]" inspect="inspect" edit="edit"></bat-model-tree>
</pre>