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

Function $WindowProvider

lib/test/angular/1.8.0/angular.js:21950–21952  ·  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 AngularJS we always refer to it through the * `$window` servic

()

Source from the content-addressed store, hash-verified

21948 </example>
21949 */
21950function $WindowProvider() {
21951 this.$get = valueFn(window);
21952}
21953
21954/**
21955 * @name $$cookieReader

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.70

Tested by

no test coverage detected