mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Use gulp examples/pub.serve to start up the server and go to http://localhost:8080/index_static.html to see the static app.
11 lines
424 B
Dart
11 lines
424 B
Dart
import 'package:examples/hello_world/app.dart' as HelloWorldApp;
|
|
import 'package:reflection/reflection_capabilities.dart';
|
|
import 'package:reflection/reflection.dart';
|
|
|
|
// TODO(rado): templatize and make reusable for all examples.
|
|
main() {
|
|
// enable mirrors and reflection.
|
|
// see static_app.js for an example of a static app.
|
|
reflector.reflectionCapabilities = new ReflectionCapabilities();
|
|
HelloWorldApp.main();
|
|
}
|