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

Function $WindowProvider

test/angular/1.3/angular.js:16595–16597  ·  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

16593 </example>
16594 */
16595function $WindowProvider() {
16596 this.$get = valueFn(window);
16597}
16598
16599/* global currencyFilter: true,
16600 dateFilter: true,

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.70

Tested by

no test coverage detected