feat(ngMock): destroy $rootScope after each test
Previously $rootScope would be new for each test, but old $rootScopes would never be destroyed. Now that we are able to destroy the $rootScope, doing so provides an opportunity for code to clean up things like long-lived event handlers between tests. Closes #13433
A
Andy Gurden committed
b75c0d8d0549261ece551210a11d8be48c3ab3cc
Parent: df6fade
Committed by Peter Bacon Darwin <pete@bacondarwin.com>
on 12/4/2015, 8:47:26 PM