response ng-switch