refactor():replace normal router with ui-router