Use ol.View instead of ol.View2D

ol.View2D was renamed to ol.View in OpenLayers 3.