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

/**
 * @ngdoc service
 * @name angular.service.$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);
  }];
}