you need the Y angle value of the camera in the angle parameter of the Update controller command.
controller:Update(camRotation.y, move, strafe, jump, 250 , 1, 0)
Also you might want to increase the maxacceleration parameter from 25 to something significantly higher, unless you want a sliding effect.
Also the camera position has to be offset from the controller, otherwise the camera is placed at the ground level.
camera:SetPosition(Vec3( controller.position.x, controller.position.y+1.8, controller.position.z ))
and this line does nothing:
controller:SetPosition(camera)