Replaced angular-router with ui-router