ui-router workaround