refactor tabs with ui-router
fix process and merge