aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/document.js
blob: 694412f4e77fbd0a934fe4faffc02ae412128134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict';

/**
 * @ngdoc object
 * @name ng.$document
 * @requires $window
 *
 * @description
 * A {@link angular.element jQuery or jqLite} wrapper for the browser's `window.document` element.
 */
function $DocumentProvider(){
  this.$get = ['$window', function(window){
    return jqLite(window.document);
  }];
}