Noughts and Crosses via AngularJS