Switch to ui.router