intervalTimer: Subscription; ngOninit() { this.startTimer(10); } startTimer(seconds: number) { const timer$ = interval(1000).pipe(take((seconds + 1))); this.