I have the following ngSwitch:
Wrong
You can't have multiple conditions with a single ng-switch-when.
ng-switch-when
One alternative is to use an ng-if, but in the case of error handling, I prefer to populate an error variable on the scope in the controller, and use ng-show=error.
ng-if
ng-show=error