yearofmoo / AngularJS-Scope.SafeApply

AngularJS $scope.$apply() without the hassle and errors :)
70 stars 23 forks source link

not working when using ng-strict-di #10

Open stefanmdt opened 9 years ago

stefanmdt commented 9 years ago

The module is not working when used together with ng-strict-di. This could easily be fixed by changing the first and last line to:

angular.module('Scope.safeApply', []).run(['$rootScope' , function($rootScope) {

...

}]);