diff options
| author | Peter Bacon Darwin | 2014-02-07 20:34:04 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:40 +0000 |
| commit | 1192ae44f1d7f944719520f235e9f2ec895bdfd5 (patch) | |
| tree | 4d4f06b9448731e2b34ddd2441a0a13dccfc8301 /src/ng/compile.js | |
| parent | f7c8bcb329eb77b153cd91fcf35c5874a6f9a4b3 (diff) | |
| download | angular.js-1192ae44f1d7f944719520f235e9f2ec895bdfd5.tar.bz2 | |
docs(bike-shed-migration): convert <doc:...> examples to <example>...
Diffstat (limited to 'src/ng/compile.js')
| -rw-r--r-- | src/ng/compile.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ng/compile.js b/src/ng/compile.js index dd8d001c..31c8006e 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -383,8 +383,8 @@ * to illustrate how `$compile` works. * </div> * - <doc:example module="compile"> - <doc:source> + <example module="compile"> + <file name="index.html"> <script> angular.module('compile', [], function($compileProvider) { // configure new 'compile' directive by passing a directive @@ -423,8 +423,8 @@ <textarea ng-model="html"></textarea> <br> <div compile="html"></div> </div> - </doc:source> - <doc:protractor> + </file> + </file name="protractor.js" type="protractor"> it('should auto compile', function() { var textarea = $('textarea'); var output = $('div[compile]'); @@ -434,8 +434,8 @@ textarea.sendKeys('{{name}}!'); expect(output.getText()).toBe('Angular!'); }); - </doc:protractor> - </doc:example> + </file> + </example> * * |
