Game in AngularJS