Work around a bug in angular-google-maps