migration to ui-router