Created
          January 6, 2017 17:27 
        
      - 
      
- 
        Save Ruivilela/2842f0611fea42ede3c21cc49b043140 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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
    
  
  
    
  | export class AppComponent{ | |
| pokemon | |
| constructor(private pokedexService: PokedexService) {} | |
| ngOnInit(){ | |
| this.pokemon = this.pokedexService.getPokemon(1) | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment