title: Uncaught TypeError: Object(...) is not a function When using Angular Google maps
body: <p>I'm trying using agm for my project to auto compete the form fields. I just installed using the command <code>npm install @agm/core</code> and in <code>app.module</code> i added the <code>AgmCoreModule</code> in imports. i didn't use any code related to agm, saved the project and ran <code>ng serve</code> and getting this error.</p>
  
  <pre><code>agm-core.js:4538 Uncaught TypeError: Object(...) is not a function
  at agm-core.js:4538
  at Module.../../node_modules/@agm/core/fesm5/agm-core.js (agm-core.js:4544)
  at __webpack_require__ (bootstrap:78)
  at Module../src/app/app.module.ts (app.component.ts:12)
  at __webpack_require__ (bootstrap:78)
  at Module../src/main.ts (main.ts:1)
  at __webpack_require__ (bootstrap:78)
  at Object.0 (main.ts:12)
  at __webpack_require__ (bootstrap:78)
  at checkDeferredModules (bootstrap:45)
  </code></pre>
  
  <p>I have no idea what this means.Please tell me what's the problem.
  Here is my <code>package.json</code> file dependencies and dev dependencies.</p>
  
  <pre><code>  "dependencies": {
  "@angular-material-extensions/google-maps-autocomplete": "^2.0.0",
  "@angular/animations": "^7.2.15",
  "@angular/cdk": "^7.2.0",
  "@angular/common": "~7.2.0",
  "@angular/core": "~7.2.0",
  "@angular/flex-layout": "^7.0.0-beta.24",
  "@angular/forms": "~7.2.0",
  "@angular/material": "^7.2.0",
  "@angular/material-moment-adapter": "^8.2.3",
  "@angular/platform-browser": "~7.2.0",
  "@angular/platform-browser-dynamic": "~7.2.0",
  "@angular/router": "~7.2.0",
  "and": "0.0.3",
  "angular-mgl-timeline": "^0.3.2",
  "angular2-text-mask": "^9.0.0",
  "bootstrap": "^4.3.1",
  "core-js": "^2.5.4",
  "hammerjs": "^2.0.8",
  "moment": "^2.24.0",
  "ngx-bootstrap": "^5.2.0",
  "ngx-pagination": "^4.1.0",
  "ngx-toastr": "^10.2.0",
  "rxjs": "^6.5.3",
  "tslib": "^1.9.0",
  "zone.js": "~0.8.26"},
   "devDependencies": {
  "@angular-devkit/build-angular": "~0.12.0",
  "@angular/cli": "^7.2.1",
  "@angular/compiler": "^7.2.15",
  "@angular/compiler-cli": "^7.2.0",
  "@angular/language-service": "~7.2.0",
  "@types/googlemaps": "^3.38.0",
  "@types/jasmine": "~2.8.8",
  "@types/jasminewd2": "~2.0.3",
  "@types/node": "~8.9.4",
  "codelyzer": "~4.5.0",
  "jasmine-core": "~2.99.1",
  "jasmine-spec-reporter": "~4.2.1",
  "karma": "^4.4.1",
  "karma-chrome-launcher": "~2.2.0",
  "karma-coverage-istanbul-reporter": "~2.0.1",
  "karma-jasmine": "~1.1.2",
  "karma-jasmine-html-reporter": "^0.2.2",
  "node-sass": "^4.13.0",
  "protractor": "~5.4.0",
  "ts-node": "~7.0.0",
  "tslint": "~5.11.0",
  "typescript": "~3.2.2"}
  </code></pre>
  
  <p>Everything works fine if i remove the import but if i add again error stop the project from running.</p>