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

Function $WindowProvider

test/angular/1.4/angular.js:18449–18451  ·  view source on GitHub ↗

* @ngdoc service * @name $window * * @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, so it ma

()

Source from the content-addressed store, hash-verified

18447 </example>
18448 */
18449function $WindowProvider() {
18450 this.$get = valueFn(window);
18451}
18452
18453/**
18454 * @name $$cookieReader

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.70

Tested by

no test coverage detected