geoadmin/mf-geoadmin3 — pull request #267 by elemoine (2013-08-16 15:29:46+00:00)
Title: Map directive adds ZoomToExtent control

https://github.com/geoadmin/mf-geoadmin3/commit/753cacc0e8a0e8bbc080a63216a3b50bc408cf12 added a ZoomToExtent control to the map. The call to addControl is done at the application level, by the map controller. For the zoom slider, the map directive, as opposed to the map controller, does the addControl. I'd suggest that we are consistent, and treat both controls the same way. This PR makes the map directive add the ZoomToExtent control.

Please review.