Short answer
For a home on one floor, keeping external antennas upright is a common choice, because they spread signal outward across the level. For a home with several floors, angling one or more antennas can help reach devices above and below. Placement matters more than the angle, so get the position right first.
How the antenna pattern works
Most home router antennas send signal in a shape like a doughnut around the antenna. The signal is strongest at right angles to the antenna’s length and weaker along its ends. So an antenna standing straight up sends most of its signal sideways, across the floor. An antenna lying flat sends more of its signal up and down.
The real pattern depends on the antenna design and the router, so treat this as a simplified picture.
Upright for one floor
If all your devices are on one level, keep the antennas upright. That spreads signal around the room and across the floor, which suits most single-level layouts.
Angled for more than one floor
If devices sit above and below the router, try one antenna upright and one flat, or both at an angle. That gives the signal some reach both ways. It does not make a floor transparent, though.
Placement matters more
Moving the router usually makes a bigger difference than changing the angle. Start with where to put wifi router for best coverage, then adjust the antennas. Many people ask: does router height affect wifi range? Height often matters more than angle, so try raising the router before you spend much time on the antennas.
Internal antennas
Some routers hide their antennas inside the case. You cannot change their angle, so focus on height and position. If you mount the router on a wall, point any external antennas into the room rather than into the wall. For the mounting advice, see should you mount wifi router on wall.
Test a few arrangements
Try each arrangement at the same spots, with the same device and band. Learn how to test wifi coverage in house to keep the results comparable, and write each result down. Keep the arrangement that gives the best coverage in the rooms you use most.