Tic Tac Toe demo – Rails + AngularJS