Tic tac toe, done with AngularJS