diff options
Diffstat (limited to 'src/service/document.js')
| -rw-r--r-- | src/service/document.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/service/document.js b/src/service/document.js new file mode 100644 index 00000000..93d4d9a5 --- /dev/null +++ b/src/service/document.js @@ -0,0 +1,12 @@ +/** + * @workInProgress + * @ngdoc service + * @name angular.service.$document + * @requires $window + * + * @description + * Reference to the browser window.document, but wrapped into angular.element(). + */ +angularServiceInject("$document", function(window){ + return jqLite(window.document); +}, ['$window'], true); |
