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

Function $WindowProvider

test/angular/1.6/angular.js:21053–21055  ·  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

21051 </example>
21052 */
21053function $WindowProvider() {
21054 this.$get = valueFn(window);
21055}
21056
21057/**
21058 * @name $$cookieReader

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.70

Tested by

no test coverage detected