Tic Tac Toe in AngularJS with a FireBase back-end scotch-taped on