Switch from hg-router to ui-router

Reviewer: Daniel V. (post)