change angular router to ui-router