<div *ngIf="product$ | async as product">
  <h2>Szczegóły produktu</h2>
  <h3>{{product.name}}</h3>
  <span>{{product.price | currency:'EUR'}}</span>
  <input placeholder="Nowa cena" #price/>
  <button (click)="changePrice(product, price.valueAsNumber)">Zmień</button>
  <p>
     <button *ngIf="authService.isLoggedIn" (click)="buy()">Kup teraz</button>
     <button class="delete" (click)="remove(product)">Usuń</button>
  </p>
  </div>
