aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/document.js
blob: 53b59b395c3314310d72cea3538824d490f6cd7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'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);
  }];
}