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

Function $WindowProvider

test/angular/1.7/angular.js:21885–21887  ·  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

21883 </example>
21884 */
21885function $WindowProvider() {
21886 this.$get = valueFn(window);
21887}
21888
21889/**
21890 * @name $$cookieReader

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.70

Tested by

no test coverage detected