Created
November 1, 2019 15:31
-
-
Save ganqqwerty/1e2ff2ef9c47b6ff4f4c6e6267ae9b1c to your computer and use it in GitHub Desktop.
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
<ng-container *ngIf="products$ | async as products"> | |
<div> All products: {{products.join(',')}}</div> | |
<div> First product: {{products[0]}}</div> | |
<div> Last product: {{products[products.length] }}</div> | |
</ng-container> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment