File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ function $RootScopeProvider(){
575
575
*
576
576
* @description
577
577
* Broadcasted when a scope and its children are being destroyed.
578
- *
578
+ *
579
579
* Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to
580
580
* clean up DOM bindings before an element is removed from the DOM.
581
581
*/
@@ -599,7 +599,7 @@ function $RootScopeProvider(){
599
599
* Just before a scope is destroyed a `$destroy` event is broadcasted on this scope.
600
600
* Application code can register a `$destroy` event handler that will give it chance to
601
601
* perform any necessary cleanup.
602
- *
602
+ *
603
603
* Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to
604
604
* clean up DOM bindings before an element is removed from the DOM.
605
605
*/
@@ -739,7 +739,7 @@ function $RootScopeProvider(){
739
739
$rootScope . $digest ( ) ;
740
740
} catch ( e ) {
741
741
$exceptionHandler ( e ) ;
742
- throw e ;
742
+ throw $rootScopeMinErr ( 'baddigest' , "The $apply's $digest can't be completed" ) ;
743
743
}
744
744
}
745
745
} ,
You can’t perform that action at this time.
0 commit comments