Angular states?

Angular states?
0.0 0

#1

hi i have this code

mew(){
  this.serve.mewt.forEach(function(data) {
    let x = data['1. open'];
    this.arabic.push(x)
  return this.arabic},this)
    console.log(this.arabic);
   
}
My problem is that when angular runs arabic is undefined or an empty array.
If I set an intervall I end up with mew function feeding array every two seconds instead with duplicate data.
How can I do so that function is executed once only and wait for data to be ready?