Let's get this working in firebase!

Here's a version that uses the $scope.db.squares object instead of its own $scope.squares.  Also the boolean that knows whose turn it is becomes a part of $scope.db.