revert angular and ui-states upgrades