diff --git a/public/docs/_examples/toh-5/ts/app/hero-detail.component.ts b/public/docs/_examples/toh-5/ts/app/hero-detail.component.ts index 31cb07858c..0ed5f9f8a7 100644 --- a/public/docs/_examples/toh-5/ts/app/hero-detail.component.ts +++ b/public/docs/_examples/toh-5/ts/app/hero-detail.component.ts @@ -2,7 +2,7 @@ // #docregion // #docregion v2 // #docregion import-oninit -import { Component, Input, OnInit } from 'angular2/core'; +import { Component, OnInit } from 'angular2/core'; // #enddocregion import-oninit // #docregion import-route-params import { RouteParams } from 'angular2/router'; @@ -27,7 +27,7 @@ import { HeroService } from './hero.service'; // #docregion implement export class HeroDetailComponent implements OnInit { // #enddocregion implement - @Input() hero: Hero; + hero: Hero; // #docregion ctor constructor( diff --git a/public/docs/_examples/tutorial/ts/app/hero-detail.component.ts b/public/docs/_examples/tutorial/ts/app/hero-detail.component.ts index 22f2e5222e..4c5b08c5b3 100644 --- a/public/docs/_examples/tutorial/ts/app/hero-detail.component.ts +++ b/public/docs/_examples/tutorial/ts/app/hero-detail.component.ts @@ -1,4 +1,4 @@ -import {Component, Input, OnInit} from 'angular2/core'; +import {Component, OnInit} from 'angular2/core'; import {RouteParams} from 'angular2/router'; import {Hero} from './hero'; @@ -10,7 +10,7 @@ import {HeroService} from './hero.service'; styleUrls: ['app/hero-detail.component.css'] }) export class HeroDetailComponent implements OnInit { - @Input() hero: Hero; + hero: Hero; constructor(private _heroService: HeroService, private _routeParams: RouteParams) {