scottohara / loot

An implementation of some of the core MS Money features in Ruby on Rails
MIT License
4 stars 3 forks source link

$state.reload() doesn’t reinitialise controllers #2

Closed scottohara closed 9 years ago

scottohara commented 10 years ago

yet... https://github.com/angular-ui/ui-router/issues/582

scottohara commented 9 years ago

$state.reload() is only used in the layout controller (login/logout).

However note #81 which may be related.

The ui-router issue is now closed, with the fix in 0.2.13 (at the time of writing, we're on 0.2.11).

After upgrading, to verify & close this issue:

  1. add a console.log('here') in transaction controller
  2. navigate to transactions state
  3. note "here" in console
  4. logout
  5. note second "here" in console