Nought And Crosses game with Angualr JS