<h1>Personagem</h1> | |
<section *ngIf="people$ | async as people"> | |
<p>Nome: {{ people.name }}</p> | |
<p>Nascimento: {{ people.birth_year }}</p> | |
<p>Cor do Olho: {{ people.eye_color }}</p> | |
</section> | |
<br /> | |
<h1>Planeta</h1> | |
<section *ngIf="planet$ | async as planet"> | |
<p>Nome: {{ planet.name }}</p> | |
<p>Gravidade: {{ planet.gravity }}</p> | |
<p>População: {{ planet.population }}</p> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment