diff --git a/public/docs/_examples/toh-5/dart/lib/dashboard_component.dart b/public/docs/_examples/toh-5/dart/lib/dashboard_component.dart index 1731bf4d0e..40dc1a4694 100644 --- a/public/docs/_examples/toh-5/dart/lib/dashboard_component.dart +++ b/public/docs/_examples/toh-5/dart/lib/dashboard_component.dart @@ -1,6 +1,5 @@ // #docplaster -// #docregion -// #docregion imports +// #docregion , imports import 'dart:async'; import 'package:angular2/core.dart'; @@ -15,16 +14,16 @@ import 'hero_service.dart'; // #docregion metadata @Component( selector: 'my-dashboard', - // #docregion templateUrl templateUrl: 'dashboard_component.html', - // #enddocregion templateUrl + // #enddocregion metadata // #docregion css styleUrls: const ['dashboard_component.css'], // #enddocregion css + // #docregion metadata directives: const [ROUTER_DIRECTIVES], ) // #enddocregion metadata -// #docregion class, component +// #docregion class class DashboardComponent implements OnInit { List heroes; diff --git a/public/docs/_examples/toh-5/ts/app/dashboard.component.ts b/public/docs/_examples/toh-5/ts/app/dashboard.component.ts index 9311a74395..3ca1630f70 100644 --- a/public/docs/_examples/toh-5/ts/app/dashboard.component.ts +++ b/public/docs/_examples/toh-5/ts/app/dashboard.component.ts @@ -1,6 +1,5 @@ // #docplaster -// #docregion -// #docregion imports +// #docregion , imports import { Component, OnInit } from '@angular/core'; import { Hero } from './hero';