replace the routing system with ui-router