fixed bug [replace detour with ui-router]
fixed bug [replace detour with ui-router]