i have a problem depending the modal window and the $scope.watch. what i want to do is to open a modal window, activate the camera trough a button for making an image and load it in a canvas element. with “$scope.watch” i watch the ng-model of the camera button and if there changes the value it should load it to the canvas. now i implemented this scenario somewhere else in my application (which is not a modal window) and it works fine. it seems the $scope.watch is called only once and does not watch again on any changes on my ng-model.
can anyone help on that? i am struggling for a while on that and i don’t know what the problem is