Simple Tic Tac Toe game implemented in Angular.js