Fully convert to ui-router.