Hinged Expansion Joint with flanges