* @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 angular we always refer to it through the * `$window` service,
()
| 20121 | </example> |
| 20122 | */ |
| 20123 | function $WindowProvider() { |
| 20124 | this.$get = valueFn(window); |
| 20125 | } |
| 20126 | |
| 20127 | /** |
| 20128 | * @name $$cookieReader |