ng-switch requires the parent to have
ng-switch on="variableName"
and for children -
ng-switch-when="stuff1"
Ng-repeat example
<div ng-repeat="value in values" ng-switch on="value.color"> <div ng-switch-when='blue'>Blue</div> <div ng-switch-when='green'>Green</div> <div ng-switch-when='orange'>Orange</div> </div>
and your collection for ng-repeat might look like this:
$scope.values = { one: {color: 'blue', worth: 2}, two: {color: 'green', worth: 3}, three: {color: 'orange', worth: 4}, }
http://plnkr.co/edit/YavzpaPUBaBQNA0pHMPN?p=preview
source share