'ngFor giving undefined even value is present in array

I am traversing through array using ngFor but when i try to access data in value variable. It is giving value is undefined. why this is happening?

myArray = ['a', 'b', 'c', 'd', 'e'];
  <div *ngFor="let vlaue of myArray">
    <button (click)="divClicked(value)">click {{ value }}</button>
  </div>


Solution 1:[1]

There is a typo.

Please change the code below

<div *ngFor="let vlaue of myArray">

to

<div *ngFor="let value of myArray">

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shukri Damit