1. An X-ray imaging apparatus comprising: an X-ray tube which is configured to radiate X-rays toward a subject; an imaging unit which is configured to generate an image of the subject; and a position controller which is configured to recognize a part to be subjected to X-ray imaging from the generated image of the subject and performs control such that the X-ray tube is moved to a position corresponding to the part to be subjected to X-ray imaging, wherein the imaging unit comprises a wide-angle camera having an angle of view that encompasses an entirety of the subject such that the image of the subject is generated in a single stage.