Vibrationally mediated photodissociation of ammonia: product angular distributions from adiabatic and nonadiabatic dissociation