I'm trying to fetch details of item when it was clicked but unable to get circular item details.. The requirement is need to fetch details and display in a Modal created in Ionic

Template Code:

```html
<div class="row" *ngFor="let circularitem of circularmonthdata; let i = index">
  <div class="col">{{circularitem.Circular_date}}</div>
  <div class="col">{{circularitem.Circular_name}}</div>
  <div class="col">
    <a class="btn btn-small" (click)="openModal(i)">
      <i class="fa fa-eye" aria-hidden="true"></i>
    </a>
  </div>
</div>

```

Component Class Code: I'm new to use Modal in angular please let me know how to populate a modal from class

```js
public openModal(index) {
  console.log("value is", index);
}

```