· It actually decomposes in ammonia and hydrogen chloride. It's possible to separate them, because ammonia is lighter, so if you heat it in an inclined tube, the ammonia will go up and the HCl will go down.
The iodine atoms within one molecule are pulled closely to each other by a covalent bond. Between the molecules, there exist weak van der waals forces.