`),
+y agrega un atributo `routerLink` al ancla que
+es el mismo que en la plantilla del panel
-You'll have to fix the private stylesheet (`heroes.component.css`) to make
-the list look as it did before.
-Revised styles are in the [final code review](#heroescomponent) at the bottom of this guide.
+Tendrás que arreglar la hoja de estilo privada (`heroes.component.css`) para hacer
+la lista tiene el mismo aspecto que antes.
+Los estilos revisados se encuentran en la [revisión final del código](#heroescomponent) al final de esta guía.
-#### Remove dead code (optional)
+#### Eliminar código muerto (opcional)
-While the `HeroesComponent` class still works,
-the `onSelect()` method and `selectedHero` property are no longer used.
+Si bien la clase `HeroesComponent` todavía funciona,
+el método `onSelect()` y la propiedad `selectedHero` ya no se utilizan.
-It's nice to tidy up and you'll be grateful to yourself later.
-Here's the class after pruning away the dead code.
+Es agradable poner en orden y te lo agradecerás más tarde.
+Aquí está la clase después de podar el código muerto.
-## Routable `HeroDetailComponent`
+## `HeroDetailComponent` enrutable
-Previously, the parent `HeroesComponent` set the `HeroDetailComponent.hero`
-property and the `HeroDetailComponent` displayed the hero.
+Anteriormente, el padre `HeroesComponent` configuraba el `HeroDetailComponent.hero`
+propiedad y el `HeroDetailComponent` mostraba el héroe.
-`HeroesComponent` doesn't do that anymore.
-Now the router creates the `HeroDetailComponent` in response to a URL such as `~/detail/11`.
+`HeroesComponent` ya no hace eso.
+Ahora el enrutador crea el `HeroDetailComponent` en respuesta a una URL como `~/detail/11`.
-The `HeroDetailComponent` needs a new way to obtain the hero-to-display.
-This section explains the following:
+El `HeroDetailComponent` necesita una nueva forma de obtener el héroe a mostrar.
+Esta sección explica lo siguiente:
-* Get the route that created it
-* Extract the `id` from the route
-* Acquire the hero with that `id` from the server via the `HeroService`
+* Obtén la ruta que lo creó
+* Extrae el `id` de la ruta
+* Adquirir el héroe con ese "id" del servidor a través de "HeroService"
-Add the following imports:
+Agrega las siguientes importaciones:
{@a hero-detail-ctor}
-Inject the `ActivatedRoute`, `HeroService`, and `Location` services
-into the constructor, saving their values in private fields:
+Inyecta los servicios `ActivatedRoute`, `HeroService` y `Location`
+en el constructor, guardando sus valores en campos privados:
-The [`ActivatedRoute`](api/router/ActivatedRoute) holds information about the route to this instance of the `HeroDetailComponent`.
-This component is interested in the route's parameters extracted from the URL.
-The "id" parameter is the `id` of the hero to display.
+El [`ActivatedRoute`](api/router/ActivatedRoute) contiene información sobre la ruta a esta instancia del `HeroDetailComponent`.
+Este componente está interesado en los parámetros de la ruta extraídos de la URL.
+El parámetro "id" es el `id` del héroe que se mostrará.
-The [`HeroService`](tutorial/toh-pt4) gets hero data from the remote server
-and this component will use it to get the hero-to-display.
+El [`HeroService`](tutorial/toh-pt4) obtiene los datos del héroe del servidor remoto
+y este componente lo usará para mostrar el héroe.
-The [`location`](api/common/Location) is an Angular service for interacting with the browser.
-You'll use it [later](#goback) to navigate back to the view that navigated here.
+La [`ubicación`](api/common/Location) es un servicio Angular para interactuar con el navegador.
+Lo usarás [más tarde](#goback) para volver a la vista que navegó aquí.
-### Extract the `id` route parameter
+### Extrae el parámetro de ruta `id`
-In the `ngOnInit()` [lifecycle hook](guide/lifecycle-hooks#oninit)
-call `getHero()` and define it as follows.
+En el `ngOnInit()` [gancho del ciclo de vida](guide/lifecycle-hooks#oninit)
+llama a `getHero()` y defínalo de la siguiente manera.
-The `route.snapshot` is a static image of the route information shortly after the component was created.
+`Route.snapshot` es una imagen estática de la información de la ruta poco después de que se creó el componente.
-The `paramMap` is a dictionary of route parameter values extracted from the URL.
-The `"id"` key returns the `id` of the hero to fetch.
+El `paramMap` es un diccionario de valores de parámetros de ruta extraídos de la URL.
+La clave `"id"` devuelve el `id` del héroe a buscar.
-Route parameters are always strings.
-The JavaScript (+) operator converts the string to a number,
-which is what a hero `id` should be.
+Los parámetros de ruta son siempre cadenas.
+El operador JavaScript (+) convierte la cadena en un número,
+que es lo que debería ser un "id" de héroe.
-The browser refreshes and the app crashes with a compiler error.
-`HeroService` doesn't have a `getHero()` method.
-Add it now.
+El navegador se actualiza y la aplicación se bloquea con un error del compilador.
+`HeroService` no tiene un método `getHero()`.
+Agréguelo ahora.
-### Add `HeroService.getHero()`
+### Agregar `HeroService.getHero ()`
-Open `HeroService` and add the following `getHero()` method with the `id` after the `getHeroes()` method:
+Abre `HeroService` y agrega el siguiente método `getHero()` con el `id` después del método `getHeroes ()`:
-Note the backticks ( ` ) that define a JavaScript
-[_template literal_](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) for embedding the `id`.
+Ten en cuenta las comillas invertidas (`) que definen un JavaScript
+[_plantilla literal_](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) para incrustar el `id`.
+
-Like [`getHeroes()`](tutorial/toh-pt4#observable-heroservice),
-`getHero()` has an asynchronous signature.
-It returns a _mock hero_ as an `Observable`, using the RxJS `of()` function.
+Como [`getHeroes()`](tutorial/toh-pt4#observable-heroservice),
+`getHero()` tiene una firma asincrónica.
+Devuelve un _mock hero_ como un `Observable`, usando la función RxJS `of()`.
-You'll be able to re-implement `getHero()` as a real `Http` request
-without having to change the `HeroDetailComponent` that calls it.
+Podrá volver a implementar `getHero()` como una solicitud real de `Http`
+sin tener que cambiar el `HeroDetailComponent` que lo llama.
-#### Try it
+#### Pruébalo
-The browser refreshes and the app is working again.
-You can click a hero in the dashboard or in the heroes list and navigate to that hero's detail view.
+El navegador se actualiza y la aplicación vuelve a funcionar.
+Puedes hacer clic en un héroe en el tablero o en la lista de héroes y navegar hasta la vista de detalles de ese héroe.
-If you paste `localhost:4200/detail/11` in the browser address bar,
-the router navigates to the detail view for the hero with `id: 11`, "Dr Nice".
+Si pega `localhost:4200/detail/11` en la barra de direcciones del navegador,
+el enrutador navega a la vista detallada del héroe con `id: 11`," Dr Nice ".
{@a goback}
-### Find the way back
+### Encuentra el camino de regreso
-By clicking the browser's back button,
-you can go back to the hero list or dashboard view,
-depending upon which sent you to the detail view.
+Al hacer clic en el botón Atrás del navegador,
+puede volver a la lista de héroes o la vista del panel,
+dependiendo de cuál le envió a la vista detallada.
-It would be nice to have a button on the `HeroDetail` view that can do that.
+Sería bueno tener un botón en la vista `HeroDetail` que pueda hacer eso.
-Add a *go back* button to the bottom of the component template and bind it
-to the component's `goBack()` method.
+Agrega un botón *volver* en la parte inferior de la plantilla del componente y vincúlalo
+al método `goBack()` del componente.
-Add a `goBack()` _method_ to the component class that navigates backward one step
-in the browser's history stack
-using the `Location` service that you [injected previously](#hero-detail-ctor).
+Agrega un método `goBack()` a la clase de componente que navega hacia atrás un paso
+en la pila de historial del navegador
+usando el servicio `Location` que [inyectaste previamente](#hero-detail-ctor).
+Actualiza el navegador y comience a hacer clic.
+Los usuarios pueden navegar por la aplicación, desde el panel hasta los detalles del héroe y viceversa,
+de la lista de héroes al mini detalle a los detalles del héroe y de regreso a los héroes nuevamente.
-Refresh the browser and start clicking.
-Users can navigate around the app, from the dashboard to hero details and back,
-from heroes list to the mini detail to the hero details and back to the heroes again.
+## Revisión final del código
-## Final code review
-
-Here are the code files discussed on this page.
+Aquí están los archivos de código discutidos en esta página.
{@a approutingmodule}
{@a appmodule}
@@ -561,13 +559,13 @@ Here are the code files discussed on this page.
-## Summary
+## Resumen
-* You added the Angular router to navigate among different components.
-* You turned the `AppComponent` into a navigation shell with `