The US has pledged to work closely with Bangladesh to tackle the threat of terrorism in the country following a recent attack in Dhaka, and reaffirmed its commitment to trading with the country - applauding the growth of its apparel industry.