MCPcopy Create free account
hub / github.com/apache/cloudstack / $WindowProvider

Function $WindowProvider

tools/ngui/static/js/lib/angular.js:8439–8441  ·  view source on GitHub ↗

* @ngdoc object * @name ng.$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

()

Source from the content-addressed store, hash-verified

8437 </doc:example>
8438 */
8439function $WindowProvider(){
8440 this.$get = valueFn(window);
8441}
8442
8443/**
8444 * Parse headers into key value object

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.85

Tested by

no test coverage detected