aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/document.js
blob: 4db1fe129807b07ba38d02e03fe0e885b4868cff (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);
  }];
}