Judge grants injuction against gang members