MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / $WindowProvider

Function $WindowProvider

web/static/bower_components/angular/angular.js:18036–18038  ·  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

18034 </example>
18035 */
18036function $WindowProvider() {
18037 this.$get = valueFn(window);
18038}
18039
18040/**
18041 * @name $$cookieReader

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.85

Tested by

no test coverage detected