ngDialog $scope variables not being updated by ngModel fields in $dialog when using scope: $scope
问题 I have a controller that creates a dialog with ngDialog.open. I assign scope:$scope and set scope variables with ng-model in the popup $dialog. However the values are not set in the controller $scope. The ng-click function is able to call a function in the $scope. Is there something I am missing, I have searched quite a bit on here and github, read the docs and worked with all the examples provided on github in the project. JS Fiddles below explains. It shows that the scope:$scope is not what