Iraq's prime minister has vowed to continue the fight against Islamic State militants, a day after the group launched a suicide attack on a shopping mall in the capital, killing 18 people.

Touring the bombed mall in eastern New Baghdad on Tuesday, Haider al-Abadi described the attack as a "desperate attempt" by militants after they lost control of the key western city of Ramadi, the capital of Anbar province. He says that Iraq's government will "spare no efforts" in expelling IS forces from the country.

Gunmen stormed the shopping mall on Monday after setting off a car bomb and launching a suicide attack at the entrance. Iraqi forces later surrounded the building, landing troops on the roof before clashing with attackers inside, killing two gunmen and arresting four.