The Eagles snapped a five-game losing streak after beating the rival Giants, 24-19, at Lincoln Financial Field.