swapping element with ng-switch