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