The nipping thing (and with triggers it usually is an eye-nip) is the fish telling you that it feels threatened and the environment is overall a stressfull one for the trigger. Although in reality only the most unlucky, and probably clumsy, of triggers have something to fear from aquarium suitable sharks (catsharks), the triggers themselves don't know that. What the triggers do instinctually know is that a shark is near and it is a predator one step higher on the food chain. Basicly the nipping is a defense mechanism - "get it first before it gets you, or bite at it till it leaves my space." For the trigger to not nip, it would need enough space to not feel threatened. You would need a very big tank for this. I don't have a scientific minimum here, but for me, I wouldn't start at anything less than 1500 gallons to keep a catshark and trigger together. And even then you would have to stay on the less aggressive side of the trigger family, such as everyone's favorite (and mine) the Niger.
They are both cool animals, and difficult as it may be to choose one over the other, it seems unlikely that success can be found by mixing the two together. Others may have a different experience, though. I'm no expert so ask around!