mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-19 16:10:22 +00:00
16 lines
343 B
JavaScript
16 lines
343 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* @ngdoc object
|
|
* @name angular.module.ng.$document
|
|
* @requires $window
|
|
*
|
|
* @description
|
|
* A {@link angular.element jQuery (lite)}-wrapped reference to the browser's `window.document`
|
|
* element.
|
|
*/
|
|
function $DocumentProvider(){
|
|
this.$get = ['$window', function(window){
|
|
return jqLite(window.document);
|
|
}];
|
|
}
|