Militants have attacked trucks carrying supplies for U.S. and NATO forces in the past , but this is the first attack to take place so close to Islamabad .