Ionic iOS run welcome page does not load correctly only after refresh

Hi guys

Having difficulties in running the ionic on iOS, app loads correctly, but when loading, welcome page does not upload correctly, only shows the app background. However, it loads then correctly welcome page on refresh (change screens and come back). No issues with white screen btw.

cache is set to false. cache: false

Any hints what needs to be done?

Thanks much!

Can you show us your controller ?
A very dirty way to deal with it without fixing could be :

$state.go($state.current, {}, {reload: true});

or

$scope.$on(’$ionicView.beforeEnter’, function() {
$state.go($state.current, {}, {reload: true});
}

Thanks Kocei, spent some time on it, the above didn’t solve the problem, controller seems to be fine, I then removed:

in the index.html and it works.

Its related to Content-Security-Policy, now I need to modify this line to make it work, but not sure what is wrong in this line, any idea?

Thanks