MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / $WindowProvider

Function $WindowProvider

lib/test/angular/1.6.7/angular.js:20729–20731  ·  view source on GitHub ↗

* @ngdoc service * @name $window * @this * * @description * A reference to the browser's `window` object. While `window` * is globally available in JavaScript, it causes testability problems, because * it is a global variable. In angular we always refer to it through the * `$window` service,

()

Source from the content-addressed store, hash-verified

20727 </example>
20728 */
20729function $WindowProvider() {
20730 this.$get = valueFn(window);
20731}
20732
20733/**
20734 * @name $$cookieReader

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.70

Tested by

no test coverage detected