# View Not Refreshing

**URL:** <https://forum.ionicframework.com/t/view-not-refreshing/45588>\
**Category:** ionic-v1\
**Created:** [March 5, 2016, 1:52pm UTC](https://forum.ionicframework.com/t/view-not-refreshing/45588 "2016-03-05T13:52:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harilall](https://avatars.discourse-cdn.com/v4/letter/h/ac8455/32.png) [@Harilall](https://forum.ionicframework.com/u/Harilall)\
**Post date:** [March 5, 2016, 1:52pm UTC](https://forum.ionicframework.com/t/view-not-refreshing/45588/1 "2016-03-05T13:52:40Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![nitishrajput01](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nitishrajput01/32/123978_2.png) [@nitishrajput01](https://forum.ionicframework.com/u/nitishrajput01)\
**Post date:** [March 5, 2016, 2:27pm UTC](https://forum.ionicframework.com/t/view-not-refreshing/45588/2 "2016-03-05T14:27:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Harilall](https://avatars.discourse-cdn.com/v4/letter/h/ac8455/32.png) [@Harilall](https://forum.ionicframework.com/u/Harilall)\
**Post date:** [March 6, 2016, 6:29am UTC](https://forum.ionicframework.com/t/view-not-refreshing/45588/3 "2016-03-06T06:29:11Z")

</div>

Tried that, didn’t work I don’t want to reload the current state I want to reload the state that I navigate too
