When an animal is owned by a minor child, the parent of such minor child with whom the child resides or legal guardian with whom the child resides shall be subject to the penalties provided under sections 28-1008 to 28-1017, 28-1019, and 28-1020 if the animal is abandoned or cruelly neglected.