Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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
You can’t perform that action at this time.