* The displayed hero is fetched throught the HeroService now!
-import { Component, OnInit, Input } from '@angular/core';
+import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Location } from '@angular/common';
import { ActivatedRoute } from '@angular/router';
import { Location } from '@angular/common';
})
export class HeroDetailComponent implements OnInit {
})
export class HeroDetailComponent implements OnInit {
constructor(
private route: ActivatedRoute,
constructor(
private route: ActivatedRoute,