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

Unified Diff: third_party/pkg/angular/demo/helloworld/web/helloworld.dart

Issue 180873006: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 6 years, 10 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/angular/demo/helloworld/web/helloworld.dart
diff --git a/third_party/pkg/angular/demo/helloworld/helloworld.dart b/third_party/pkg/angular/demo/helloworld/web/helloworld.dart
similarity index 63%
rename from third_party/pkg/angular/demo/helloworld/helloworld.dart
rename to third_party/pkg/angular/demo/helloworld/web/helloworld.dart
index 37a2308d5e2e42c0d5287b1f8d2ef656d2c4c59f..338e33bb6c5900a0b3f4b257afba8fd98a4118a0 100644
--- a/third_party/pkg/angular/demo/helloworld/helloworld.dart
+++ b/third_party/pkg/angular/demo/helloworld/web/helloworld.dart
@@ -8,6 +8,13 @@ import 'package:angular/angular.dart';
@MirrorsUsed(override: '*')
import 'dart:mirrors';
+@NgController(
+ selector: '[hello-world-controller]',
+ publishAs: 'ctrl')
+class HelloWorldController {
+ String name = "world";
+}
+
main() {
- ngBootstrap();
+ ngBootstrap(module: new Module()..type(HelloWorldController));
}
« no previous file with comments | « third_party/pkg/angular/demo/helloworld/index.html ('k') | third_party/pkg/angular/demo/helloworld/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698