Reworked the center directive as noticed by @DmitriyTolkachov:
https://github.com/tombatossals/angular-openlayers-directive/issues/12