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

Unified Diff: third_party/pkg/route_hierarchical/example/full/root-view.html

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, 12 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 side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/route_hierarchical/example/full/root-view.html
diff --git a/third_party/pkg/route_hierarchical/example/full/root-view.html b/third_party/pkg/route_hierarchical/example/full/root-view.html
new file mode 100644
index 0000000000000000000000000000000000000000..996cb33f7a3d5d4fb5a085ce7f65f5b7fec58b5a
--- /dev/null
+++ b/third_party/pkg/route_hierarchical/example/full/root-view.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+
+<html>
+ <head>
+ <link rel="import" href="home.html">
+ <link rel="import" href="company-info-loader.html">
+ <link rel="import" href="portfolio.html">
+ </head>
+ <body>
+ <element name="x-root-view" constructor="RootView" extends="div">
+ <template>
+ <template if="currentRouteName == 'home'">
+ <x-home></x-home>
+ </template>
+ <template if="currentRouteName == 'companyInfo'">
+ <x-company-info-loader route="{{route.getRoute('companyInfo')}}"></x-company-info-loader>
+ </template>
+ <template if="currentRouteName == 'portfolio'">
+ <x-porfolio route="{{route.getRoute('portfolio')}}"></x-porfolio>
+ </template>
+ </template>
+ <script type="application/dart" src="root-view.dart"></script>
+ </element>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698