big refactoring and doing to nested views with ui-route