An exercise on making Tic Tac Toe using AngularJS