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

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

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/annotation_src.dart';
4 import 'package:angular/routing/module.dart';
5 import 'package:di/di.dart';
6
7 @Decorator(
8 selector:'[ng-if]',
9 map: const {'.': '=>ngIfCondition'})
10 class NgIfDirective {
11 bool ngIfCondition;
12 }
13
14 main() {
15 var barRoute = ngRoute(
16 path: '/bar',
17 viewHtml: '<div ng-if="bar"></div>');
18 var module = new Module()
19 ..value(RouteInitializerFn, (router, views) {
20 views.configure({
21 'foo': ngRoute(
22 path: '/foo',
23 viewHtml: '<div ng-if="foo"></div>'),
24 'bar': barRoute,
25 });
26 });
27 }
OLDNEW
« no previous file with comments | « third_party/pkg/angular/test/io/test_files/main.dart ('k') | third_party/pkg/angular/test/io/test_files/templates/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698