In a directive link function, I have this code:
console.log("visible is initially: " + $scope.document.fieldList[1].structureField.visible); $scope.