AngularJS ui-router: force reload -


I have to use an aggregate js app and uri router starting with index.html. Based on the trigger I want to reload the entire page. I tried: $ state.go ($ state purchase, $ state mercury, {reload: truth, heirs: wrong, notify: true});

But this does not work, it does not reload my initial index.html.

I can:

  window.location.href = "index.html";   

But then I'm on my initial page, not on the current situation.

With a set window.location.href the index.html query string parameter that specifies the current location? If I do this, then how can I go to this place?

Current move is:

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

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

Simple file compression in C -

php - Sorting an multidimension array using usort fails -