When i.typ is changed the ng-switch doesn't update in the below code. Maybe this has to do with the ng-repeat oustide the switch? On page reload it works but not when model is changed.
<div id="sceneCtrl" ng-controller="SceneController">
<transform id="{{'annotation'+i.ID}}" ng-repeat="i in vm.sharedService.SceneAnnotations">
<group ng-switch on="{{i.typ}}">
<transform ng-switch-when="0" > [subtree 0...] </transform>
<transform ng-switch-when="1" > [subtree 1...] </transform>
</group>
</transform>
</div>