The Italian champions fell behind but recovered to take all three points with Mario Mandzukic and Patrice Evra also on target.