I want to make a tick in app. So I decided to use interval and subscribe to it inside ngOnInit.
but in that case app will load endlessly, until interval complites.
How to make a tick without the problem?
I want to make a tick in app. So I decided to use interval and subscribe to it inside ngOnInit.
but in that case app will load endlessly, until interval complites.
How to make a tick without the problem?