Hacking ui-router.