starting to refactor router with ui-router