Working routing with ui-router.