I am having trouble with creating multiple rotations along a curved element in Dynamo.

I would like to input an angle for the start and end points of the curve and have the resulting points in-between be fractional rotations of the resulting difference between the two angles.

For example inputting 0degrees for the start and 45degrees for the end would translate to 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 if there were ten points along the curve.

At the moment I have just put in a family instance rotation which just rotates all the points to the same angle.

Any help would be much appreciated