Noughts and crosses game written with AngularJS