TicTacToe with AngularJS