1. An electronic device providing augmented reality, comprising: a memory storing at least one content group, wherein each of the at least one content group includes a plurality of virtual objects; a camera; a display; and a controller configured to: capture, via the camera, an image including a real object and a marker, obtain identification information on the real object based on the image, obtain angle information reflecting an orientation of the marker with respect to the real object using the image, wherein the angle information is calculated based on a gradient of a line starting from a point of the real object to the marker, determine a specific content group from the at least one content group based on the identification information, select, according to the angle information, a specific virtual object among the virtual objects in the specific content group, wherein at least two different virtual objects in the specific content group correspond to different angle information, and augment, via the display, the specific virtual object.