begin ui-router migration