Angular firebase getting document details » will return all the data on that particular doc » will return the id of the document

<ion-content class="ion-padding">
  <ion-card *ngFor="let opportunity of opportunities">

    <ion-item>Posted by  | 
      create  ago 

      <ion-button (click)="onApply(" *ngIf="this.student">  // to pass the id to another method
        <ion-icon name="add"></ion-icon>
        Apply Now

Leave a Comment

Your email address will not be published. Required fields are marked *