Currently, I am utilizing UI bootstrap for Angular and have successfully integrated the ui.bootstrap.modal component into my project. Everything seems to be working smoothly except for one issue I am encountering. Despite setting up a $scope.$watch to track changes on a specific property in the modal's controller, it is not triggering when the property is modified.
You can view a reproduction of this problem on this plunkr link.
Upon observation, the $watch function only fires once when the modal is opened but fails to respond to any changes made to the checkbox value within the UI. The binding seems correct initially as modifying one checkbox automatically updates the other (both linked to the same property).
If you have any insights or suggestions regarding this matter, they would be greatly appreciated!