I am trying to write something with Angular Bootstrap's Modal. This injects a div at the end of the html body, which is not wrapped in a controller. The result is I have not been able to access bindings via $scope, but for some reason I can write them to the view from the model.
The code can be found here.
On line 23, you will find the $scope is successfully written to, and the data is bound to a input. However, if you then edit the input, 3 seconds later, the $scope that is bound to it is alerted, but changes in the view are not reflected. I have found that this can be solved by wrapping the modal in its own controller, but then I am unable to get what I want to do to work.
Is it possible to access changed in the model from the controller?