I feel like i'm resorting to hacks at the moment, using $rootScope, to set flags, to do data change detection and then persist things back to $scope, based upon a $watch on the parent $scope
Surely there is a better way to do this?
Why can't ngDialog do something normal, like return the $scope that has been modified by ngDialog to allow me to compare ngDialog.$scope to the main $scope?
I feel like i'm resorting to hacks at the moment, using $rootScope, to set flags, to do data change detection and then persist things back to $scope, based upon a $watch on the parent $scope
Surely there is a better way to do this?
Why can't ngDialog do something normal, like return the $scope that has been modified by ngDialog to allow me to compare ngDialog.$scope to the main $scope?