MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / $WindowProvider

Function $WindowProvider

code/songhop/www/lib/angular/angular.js:16362–16364  ·  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

16360 </example>
16361 */
16362function $WindowProvider() {
16363 this.$get = valueFn(window);
16364}
16365
16366/* global currencyFilter: true,
16367 dateFilter: true,

Callers

nothing calls this directly

Calls 1

valueFnFunction · 0.70

Tested by

no test coverage detected