diff options
Diffstat (limited to 'src/ng/window.js')
| -rw-r--r-- | src/ng/window.js | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/src/ng/window.js b/src/ng/window.js index 94f8b884..e1928a88 100644 --- a/src/ng/window.js +++ b/src/ng/window.js @@ -16,8 +16,8 @@   * expression.   *   * @example -   <doc:example> -     <doc:source> +   <example> +     <file name="index.html">         <script>           function Ctrl($scope, $window) {             $scope.greeting = 'Hello, World!'; @@ -30,15 +30,15 @@           <input type="text" ng-model="greeting" />           <button ng-click="doGreeting(greeting)">ALERT</button>         </div> -     </doc:source> -     <doc:protractor> +     </file> +     </file name="protractor.js" type="protractor">        it('should display the greeting in the input box', function() {         element(by.model('greeting')).sendKeys('Hello, E2E Tests');         // If we click the button it will block the test runner         // element(':button').click();        }); -     </doc:protractor> -   </doc:example> +     </file> +   </example>   */  function $WindowProvider(){    this.$get = valueFn(window); | 
