I am struggling with understanding why my AngularJS app is performing differently after having viewed one or multiple pages.
What happens is that on the first team when I deploy my website, clear my cache, and then go to the page, the page reacts a bit "slow" in the sense that when you click on opening a new page, nothing happens, and then after a second or two it displays the page.
This does not happen after I visit the affected pages and then retry again. Then its far more smooth. Same if I visit the website a day after.
What can I do to prevent this behavior?
I use angular ui-router, $state.go and the latest AngularJS version.