If it pops and bangs i'd recommend starting with the fuel system. When my alternator belt snapped the battery drained just before it died it was popping and banging and missfiring all over the place cos there was not enough fuel getting to the engine.
if it only happened when you started to boot it, there might have been some shit in the fuel system pulled through, try changing the filter and checking the injectors.