I read axiomatic geometry and found the following definitions:
Points $A$ and $B$ and all those points that lie between those points is a line segment.
If $AB$ and $AC$ are two rays that does not belong to the same line, then the union of those rays forms an angle.
If three points are not collinear, they form a triangle. Line segments $AB$, $BC$ and $CA$ are the sides of a triangle.
Now, has a triangle an angle? I mean if triangle has line segments but not rays then I guess triangle has no angles unless we extend the line segments to the rays. Am I correct?
Modern axiomatisation of Euclid's geometry is due to David Hilbert in his book Grundlagen der Geometrie (The Foundations of Geometry, 1899).
A modern treatment is in Robin Hartshorne, Geometry Euclid and Beyond (2000).
According to Hilbert [see page 4 of the English translation] :
Hilbert states [page 6] :
Thus, triangles are identified by three non-collinear point $A, B, C$.
See also [page 6] :
Thus, considering the segment $AB$ on line $a$, we have that $A$ divides $a$ into two half-rays, one of which contains point $B$, and so all the segment $AB$.
Finally, we have [page 8] :
Thus, the half-rays containing segments $AB$ and $AC$ form an angle; the same for the couples $BA$ with $BC$ and $CB$ with $CA$.