I\'m a beginner with angular and javascript, I\'m trying to refresh a dashboard. so I use the first one to do the refresh and the second one to stop the refresh. I want to c