The US has the capability to prevent terrorist attacks such as the nightclub massacre in the US state of Florida but opposition from US officials, including President Barack Obama, to mosque surveillance robs law-enforcement of needed intelligence, presumptive Republican presidential nominee Donald Trump said in a television interview on Monday.