Maximum angle of attack is not directly related to the angle of climb. Angle of attack is an aerodynamic term, referring to the angle between the relative wind and the chord line of the airfoil.
Looking at a photo of an aircraft positioned in, say, a 15 degree deck angle relative to the horizon tells you absolutely nothing about that aircraft's angle of attack. For all the viewer knows, the photo could be showing an aircraft that is completely stalled and dropping straight down.
Now, I believe your original question asked what kinds of deck angles are possible during climbout in the A340 family. The only way to get a remotely accurate answer is to first specify weather conditions, weights, thrust settings, field elevation, etc. There are many variables.
Intentionally Left Blank