AngularJS page only works after refresh

I used AngularJS in a section of my site (for 2 pages using routes). When I go to one of these pages from an Angular page, I just get an empty container in which nothing loads. If now I try to go to another Angular page, I have the same problem - nothing loads. I am not getting Angular errors in the console, nothing.

However, if I refresh the page, the content will load, and then everything will work!

I made a screen recording of this problem: http://screencast.com/t/y72wrr8iO

How can i fix this?

+4
source share
2 answers

. , chrome (AngularJS Batarang), / .

+5

, , - . , , : vendor lbirariers → → (...) →

js , -

+1

All Articles