https://github.com/angular-ui/bootstrap/issues/1728

Reading maxSize from config.