'''
)
class AppComponent {
String title = 'Tour of Heroes';
+ // #docregion hero-property-1
Hero hero = new Hero(1, 'Windstorm');
+ // #enddocregion hero-property-1
}
// #enddocregion pt1
diff --git a/public/docs/_examples/toh-1/dart/web/main.dart b/public/docs/_examples/toh-1/dart/web/main.dart
index 81c22cd91d..dbf48b9c70 100644
--- a/public/docs/_examples/toh-1/dart/web/main.dart
+++ b/public/docs/_examples/toh-1/dart/web/main.dart
@@ -3,7 +3,7 @@ import 'package:angular2/platform/browser.dart';
import 'package:angular2_tour_of_heroes/app_component.dart';
-main() {
+void main() {
bootstrap(AppComponent);
}
// #enddocregion pt1
diff --git a/public/docs/dart/latest/tutorial/toh-pt1.jade b/public/docs/dart/latest/tutorial/toh-pt1.jade
index e96613a628..cb6d389286 100644
--- a/public/docs/dart/latest/tutorial/toh-pt1.jade
+++ b/public/docs/dart/latest/tutorial/toh-pt1.jade
@@ -87,7 +87,7 @@ code-example(format="" language="bash").
Now that we have a `Hero` class, let’s refactor our component’s `hero` property to be of type `Hero`.
Then initialize it with an id of `1` and the name, "Windstorm".
-+makeExample('toh-1/dart-snippets/app_component_snippets_pt1.dart', 'hero-property-1', 'app_component.dart (Hero property)')(format=".")
++makeExample('toh-1/dart/lib/app_component.dart', 'hero-property-1', 'app_component.dart (hero property)')(format=".")
:marked
Because we changed the hero from a string to an object,