Injects $window and $document