When you are sitting quietly with your dog, place the nail clippers in plain sight, so the dog learns that he doesn't have to flee in terror at the sight of them. If he learns that giving his paw results in a reward, he won't be so resistant to letting you touch his feet. Cut one nail . . . and only one nail . . . Do this until multiple nails can be cut in one session without fuss. Until your dog gets used to the process, start by cutting the toenails on the back feet, first.
Most dogs are less resistant to having their back feet touched.
Don't get angry or excited yourself. Yelling never makes the situation any better, and cooing sympathy only convinces the dog that there really is a problem. Make sure the clippers are sharp. Either replace, or sharpen, as necessary. Try putting the dog in different positions.