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

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -