Taliban militants attacked the Afghan parliament on Monday, with gunfire and a huge explosion rocking the building.