Second attempt to put angular tic tac toe on Firebase