replaced ngRouter with ui.router