angular call function every x seconds code example Example: angular call function every x seconds setInterval(()=> { this.myFunc() }, timeIntevalSeconds * 1000);