1

I have the following states: 'home.person','home.person.house'

I'm in 'home.person.house' and want to hard reload state stating from 'home.person'. According to https://github.com/angular-ui/ui-router/pull/1809, I can pass as a parameter the start state from which the reload will start. So, I have the following line:

$state.reload('home.person');

However, the reload doesn't occur even thought everything in ui-route seems to work fine (debugged it). The resolve function of state 'home.person' wasn't called. Are there any suggestions why I'm not getting the result I wish for?

Vertexwahn
  • 7,709
  • 6
  • 64
  • 90
Rotem B
  • 1,327
  • 1
  • 15
  • 20

1 Answers1

1

You can try using this : $state.go("home.person",{reload:true}); It would be good if you could share the parent and child state codes. It's difficult to provide a solution without much reference.

Shoaib Khan
  • 88
  • 1
  • 9