Or you could keep it simple by doing something like this:

alert(angular.equals({}, $scope.items));