replace angular route to ui-router for router