Revert "Fixed ng-switch bug"

This reverts commit 8c57e8e6ae75d3981b24c4c5b5b521e9b4817de6.