changed ng-class syntax on sub-games to use function on scope to return the object