How to redirect to the same page

Hi everyone

I’m trying to redirect the user to the same page when he/she clicks an image.

I need to do that is because I use the same html to display the product details, and inside the suggested products I have to redirect to the same page using the attributes of the product the was clicked. (if it’s make any sense).

I already disabled the cache on app.js

        url: "/detail-product",
        cache: false,

and I also tried to force the page to reload:

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

Is there a simple way to accomplish this?


My bad folks!

I was putting the cache: false in the wrong state (didn’t get my pills today)

So basically to refresh the page, just disable the cache and force the page to reload (as mentioned above)