| Index: third_party/pkg/angular/test/io/test_files/main.dart
|
| diff --git a/third_party/pkg/angular/test/io/test_files/main.dart b/third_party/pkg/angular/test/io/test_files/main.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2a32a4b15c06a6d9d58c3f923d7acb39acf8b289
|
| --- /dev/null
|
| +++ b/third_party/pkg/angular/test/io/test_files/main.dart
|
| @@ -0,0 +1,33 @@
|
| +library test_files.main;
|
| +
|
| +import 'package:angular/core/module.dart';
|
| +
|
| +@NgDirective(
|
| + children: NgAnnotation.TRANSCLUDE_CHILDREN,
|
| + selector:'[ng-if]',
|
| + map: const {'.': '=>ngIfCondition'})
|
| +class NgIfDirective {
|
| + bool ngIfCondition;
|
| +}
|
| +
|
| +@NgComponent(
|
| + selector: 'my-component',
|
| + map: const {
|
| + 'attr': '@attr',
|
| + 'expr': '=>expr'
|
| + },
|
| + template: '<div>{{ctrl.inline.template.expression}}</div>',
|
| + exportExpressionAttrs: const ['exported-attr'],
|
| + exportExpressions: const ['exported + expression']
|
| +)
|
| +class MyComponent {
|
| + @NgOneWay('another-expression')
|
| + String anotherExpression;
|
| +
|
| + @NgCallback('callback')
|
| + set callback(Function) {}
|
| +
|
| + set twoWayStuff(String abc) {}
|
| + @NgTwoWay('two-way-stuff')
|
| + String get twoWayStuff => null;
|
| +}
|
|
|