Initializing AppComponent with heroes.
Initializing AppComponent with heroes.

Implementing the OnInit interface in the App component to take advantage of the ngOnInit hook to retrieve the heroes from HeroService.

This was also a good exposure to making sure services return Promises.

michaelwestphal/ng2-tour-of-heroes,michaelwestphal/ng2-tour-of-heroes,michaelwestphal/ng2-tour-of-heroes