Aof A or Pitch
Lets be very careful here. We may well be talking semantics and not aerodynamics.
The elevators control the aircraft in pitch around a centre of gravity. The angle of attack is the relationship of the wing cord with the path of fight (RAF). The elevator does not control the path of flight but is an element of the sum that gives to performance. By changing and CONTROLLING the pitch of the aeroplane around its centre of gravity using the elevator you will of course change/achieve an angle of attack to a given RAF but so do other things as already mentioned.