UPDATE. Never mind, found another place where this object was initialized.
Hi everybody,
I am having a strange behavior of the object I declare in the parent scope.
I declare this object:
$scope.filterOptions = {
filterText: "",
useExternalFilter: true,
showFinalized: false
};
while running code from the child controller I try to output the
$scope.filterOptions object in the console. And the showFinalized property is not there at all. When I reach the code that accesses it, this property shows undefined.
Why would clearly defined property suddenly become undefined?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog