aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/document.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/document.js')
-rw-r--r--src/service/document.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/service/document.js b/src/service/document.js
index ae13c1ed..f71ac33a 100644
--- a/src/service/document.js
+++ b/src/service/document.js
@@ -9,6 +9,8 @@
* A {@link angular.element jQuery (lite)}-wrapped reference to the browser's `window.document`
* element.
*/
-angularServiceInject("$document", function(window){
- return jqLite(window.document);
-}, ['$window']);
+function $DocumentProvider(){
+ this.$get = ['$window', function(window){
+ return jqLite(window.document);
+ }];
+}