| OLD | NEW |
| 1 library test_files.main; | 1 part of test_files.main; |
| 2 | 2 |
| 3 import 'package:angular/core/module.dart'; | 3 @Component( |
| 4 import 'package:angular/tools/template_cache_annotation.dart'; | |
| 5 | |
| 6 @NgComponent( | |
| 7 selector: 'my-component', | 4 selector: 'my-component', |
| 8 templateUrl: '/test/io/test_files/templates/main.html') | 5 templateUrl: '/test/io/test_files/templates/main.html') |
| 9 @NgTemplateCache() | 6 @NgTemplateCache() |
| 10 class MyComponent | 7 class MyComponent |
| 11 { | 8 { |
| 12 } | 9 } |
| 13 | 10 |
| 14 @NgComponent( | 11 @Component( |
| 15 selector: 'my-component2', | 12 selector: 'my-component2', |
| 16 templateUrl: '/test/io/test_files/templates/dont.html') | 13 templateUrl: '/test/io/test_files/templates/dont.html') |
| 17 @NgTemplateCache(cache: false) | 14 @NgTemplateCache(cache: false) |
| 18 class MyComponent2 | 15 class MyComponent2 |
| 19 { | 16 { |
| 20 } | 17 } |
| 21 | 18 |
| 22 | 19 |
| 23 @NgComponent( | 20 @Component( |
| 24 selector: 'my-component3', | 21 selector: 'my-component3', |
| 25 templateUrl: '/test/io/test_files/templates/dont.html') | 22 templateUrl: '/test/io/test_files/templates/dont.html') |
| 26 @NgTemplateCache(cache: true) | 23 @NgTemplateCache(cache: true) |
| 27 class MyComponent3 | 24 class MyComponent3 |
| 28 { | 25 { |
| 29 } | 26 } |
| OLD | NEW |