fix Displaying Data heroes name array

This commit is contained in:
Leandro Diniz 2015-11-01 01:34:17 -02:00 committed by Naomi Black
parent d9b51cea0c
commit 8aec99d4bd
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ import {Component, bootstrap, NgFor} from 'angular2/angular2';
// #docregion mock-heroes // #docregion mock-heroes
export class AppComponent { export class AppComponent {
title = 'Tour of Heroes'; title = 'Tour of Heroes';
heroes = ['Windstorm', 'Bombasto', 'Magneta, Tornado']; heroes = ['Windstorm', 'Bombasto', 'Magneta', 'Tornado'];
myHero = this.heroes[0]; myHero = this.heroes[0];
} }
// #enddocregion mock-heroes // #enddocregion mock-heroes