use ng-switch