A tic-tac-toe game using AngularJS