I am still new to this all and work on my first app right now. I was pretty happy until I discovered a strange problem for me and I try since 2 days to solve. I have a pretty simple setup and on my first screen I have a login form. The form post to my php backend and gets some user data back.
I can see that all works fine in log and I get as expected all my data. At this point I don’t do anything else and once I got the data back I simple forward to another stage with the user profile.
To do that I use simple
$state.go('app.profile'); after successful receiving the user infos.
The strange thing now is that in 90% of the logins this works perfect and my profile opens BUT in about 10-20% of the time the stage keeps white without any error or any visible wrong in my log or terminal etc. all looks perfect but the stage keeps white. I always use the same user data as well. If I hit now the reload in my browser the stage opens normal as well.
My problem is that I not even know how I would debug this since there are no errors. Also I need to say that the user profile page contains nothing right now and is a static page. this view dont use any real data yet.
Why this sometimes work and sometimes not?
I would be happy about any help I can get in this case, I am exhausted in testing but still happen again and again.