Setting min max and default value to a slider

Hi, I have a slider in VIEW_3D TOOLS to rotate my camera.
I have found two options :

  1. col.prop(cam, "rotation_euler", index=2)
  2. col.prop(context.scene, "angle") where I have declared angle = FloatProperty(name="Angular", description="Direction", min=1.0, max=90.0, default=45.0)

The first actually rotates the camera but has no min, max and default value. The second has min, max and default value, but doesn’t move the camera.
My question is “how can I get all that together ?”

Many thanks in advance

The API is your friend

Using an update function in the prop will allow you to do this;

angle = FloatProperty(
    name = 'Angular',
    description = 'Direction',
    min = 1.0,
    max = 90.0,
    update = update_angle,
    default = 45.0)

def update_angle(self, context):
    context.scene.camera.rotation_euler[2] = radians(context.scene.angle) # make euler z equal your prop

There is also get and set functions that can be used in this situation, and may be what you are looking for.