Created
April 27, 2018 21:26
-
-
Save nerdic-coder/1ac78596e44a5e65cd76352a1fc6c9c1 to your computer and use it in GitHub Desktop.
getHeroes.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getHeroes(): void { | |
this.heroService.getHeroes() | |
.subscribe(heroes => this.heroes = heroes); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment