Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

View Not Refreshing

$
0
0

@Harilall wrote:

I have 4 different views and I need the home view to reload I have put this into a small function as follows.

 $scope.goToViewHome = function(){

 $state.go('home');
 location.reload(true);


 }

Now this will get activated on an ng-click directive, this works perfectly in my PC but on my phone it doesn't and I don't understand why as I am using the Javascript method for this and Angular is javascript. I have also tried $state.reload(), $location.path('homePage'); but no luck with those either is this an ionic bug?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>