Shows how to add navigation controls.
ol.control.Zoom
ol.control.ZoomToExtent
See the navigation-controls.js source to see how this is done.