Index: third_party/pkg/angular/test/io/test_files/templates/partial.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/partial.dart |
similarity index 70% |
copy from third_party/pkg/angular/test/io/test_files/templates/main.dart |
copy to third_party/pkg/angular/test/io/test_files/templates/partial.dart |
index 7e9cd6e4f4b02e70b3f1c0d8f64e99a08c65395b..001c5552744979fb5270983c4c7701db8aac5428 100644 |
--- a/third_party/pkg/angular/test/io/test_files/templates/main.dart |
+++ b/third_party/pkg/angular/test/io/test_files/templates/partial.dart |
@@ -1,9 +1,6 @@ |
-library test_files.main; |
+part of test_files.main; |
-import 'package:angular/core/module.dart'; |
-import 'package:angular/tools/template_cache_annotation.dart'; |
- |
-@NgComponent( |
+@Component( |
selector: 'my-component', |
templateUrl: '/test/io/test_files/templates/main.html') |
@NgTemplateCache() |
@@ -11,7 +8,7 @@ class MyComponent |
{ |
} |
-@NgComponent( |
+@Component( |
selector: 'my-component2', |
templateUrl: '/test/io/test_files/templates/dont.html') |
@NgTemplateCache(cache: false) |
@@ -20,7 +17,7 @@ class MyComponent2 |
} |
-@NgComponent( |
+@Component( |
selector: 'my-component3', |
templateUrl: '/test/io/test_files/templates/dont.html') |
@NgTemplateCache(cache: true) |