a tictactoe based on angularjs