using ng-switch and ng-animate to progress between game states