Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/pkg/angular/test/io/test_files/main.dart

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 library test_files.main;
2
3 import 'package:angular/core/module.dart';
4
5 @NgDirective(
6 children: NgAnnotation.TRANSCLUDE_CHILDREN,
7 selector:'[ng-if]',
8 map: const {'.': '=>ngIfCondition'})
9 class NgIfDirective {
10 bool ngIfCondition;
11 }
12
13 @NgComponent(
14 selector: 'my-component',
15 map: const {
16 'attr': '@attr',
17 'expr': '=>expr'
18 },
19 template: '<div>{{ctrl.inline.template.expression}}</div>',
20 exportExpressionAttrs: const ['exported-attr'],
21 exportExpressions: const ['exported + expression']
22 )
23 class MyComponent {
24 @NgOneWay('another-expression')
25 String anotherExpression;
26
27 @NgCallback('callback')
28 set callback(Function) {}
29
30 set twoWayStuff(String abc) {}
31 @NgTwoWay('two-way-stuff')
32 String get twoWayStuff => null;
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698