Question: do flaps increase angle of climb?
Answer: Increasing the flap angle increases the drag, and so reduces the climb gradient for a given aircraft mass. If there are obstacles to be considered in the takeoff flight path, the flap setting that gives the shortest takeoff distance may not give the required climb gradient for obstacle clearance.