Index: third_party/pkg/angular/test/io/test_files/templates/main.dart |
diff --git a/third_party/pkg/angular/test/io/test_files/templates/main.dart b/third_party/pkg/angular/test/io/test_files/templates/main.dart |
index 7e9cd6e4f4b02e70b3f1c0d8f64e99a08c65395b..4099f204358952c7f0f40c28b621fa9d401fe451 100644 |
--- a/third_party/pkg/angular/test/io/test_files/templates/main.dart |
+++ b/third_party/pkg/angular/test/io/test_files/templates/main.dart |
@@ -1,29 +1,9 @@ |
library test_files.main; |
-import 'package:angular/core/module.dart'; |
+import 'package:angular/core/annotation.dart'; |
import 'package:angular/tools/template_cache_annotation.dart'; |
-@NgComponent( |
- selector: 'my-component', |
- templateUrl: '/test/io/test_files/templates/main.html') |
-@NgTemplateCache() |
-class MyComponent |
-{ |
-} |
- |
-@NgComponent( |
- selector: 'my-component2', |
- templateUrl: '/test/io/test_files/templates/dont.html') |
-@NgTemplateCache(cache: false) |
-class MyComponent2 |
-{ |
-} |
- |
+part 'partial.dart'; |
-@NgComponent( |
- selector: 'my-component3', |
- templateUrl: '/test/io/test_files/templates/dont.html') |
-@NgTemplateCache(cache: true) |
-class MyComponent3 |
-{ |
+class MainClass { |
} |