This reverts commit 8ad464d90e735ab3f59bdb95191ef9110e63ac84. Breaks G3.
This PR adds an ability to reset the angularjs library, which is often needed when Angular is loaded lazily using RequireJS.