Connectivity from iMac to TV via HDMI cable
On your iMac, click System Preferences > Displays > Arrangement, and check the box that says "Mirror Displays". 

This will essentially mirror your computer's screen to your TV connected through HDMI.