tic tac toe with angular.js