An Israeli cabinet minister has sparked a controversy after floating the idea of using nuclear weapons against the Gaza Strip.