<div class="note-input">
  <textarea [formControl]="control" type="text" placeholder="Eine Notiz hinzufügen ..."></textarea>
  <button class="cta-save" type="button" *ngIf="control.dirty" (click)="addNote()">Speichern</button>
</div>

<div class="notes">
  <div class="note" *ngFor="let note of notesToDisplay">
    <div class="note-text">
      {{ note.note }}
    </div>
    <div class="note-date">
      {{ note.date | date: 'EEEE, dd. MMMM yyyy | HH:mm' }}
    </div>
  </div>
</div>
