angular-elastic
angular-elastic copied to clipboard
Use angular wrapper $document instead of document.
This PR uses the angularjs wrapper $document instead of the default document for appending the mirror to the DOM. This simplifies the mocking e.g. for testing.