If your baby does not like cold apple juice, it should be heated.
That isn't really a dangling modifier because "it should be heated" comes directly after "juice."
However, to make the sentence clearer, you could say,
Apple juice should be heated if your baby doesn't like it cold.