ng-switch updated