The easiest way, if you want to have it done at the same time, is to reduce the setting measure and allow a short time to pass between the casting of the slab and the curb. Most often when doing something similar, you usually use loose formwork and use so-called float boards, a form shaped like an L to minimize the risk of concrete seeping up where it shouldn't be.