From 2430f52bb97fa9d682e5f028c977c5bf94c5ec38 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 23 Mar 2012 14:03:24 -0700 Subject: chore(module): move files around in preparation for more modules --- src/ng/document.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/ng/document.js (limited to 'src/ng/document.js') diff --git a/src/ng/document.js b/src/ng/document.js new file mode 100644 index 00000000..53b59b39 --- /dev/null +++ b/src/ng/document.js @@ -0,0 +1,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); + }]; +} -- cgit v1.2.3