How to calculate angular velocity?

I have an object without physics. I am going to detach it, then turn on physics. Then I want to set its velocity and angular velocities so that it keeps the same momentum. Linear velocity was easy. However, I don’t know what the correct way to calculate angular velocity is for this. Is SetAllPhysicsAngularVelocity supposed to take radians per second or degrees per second. What coordinate space is it in? I haven’t made much progress with trial and error.