Update to AngularJS-Scope.SafeApply

Update to AngularJS-Scope.SafeApply to ensure that $rootScope will be safely injected when the file is minified.