tic tac toe - angular js