{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1633","repository_url":"https://api.github.com/repos/angular-ui/angular-google-maps","labels_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1633/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1633/comments","events_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1633/events","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1633","id":118206079,"number":1633,"title":"Working with ES6 and Webpack","user":{"login":"Tallyb","id":7386255,"avatar_url":"https://avatars.githubusercontent.com/u/7386255?v=3","gravatar_id":"","url":"https://api.github.com/users/Tallyb","html_url":"https://github.com/Tallyb","followers_url":"https://api.github.com/users/Tallyb/followers","following_url":"https://api.github.com/users/Tallyb/following{/other_user}","gists_url":"https://api.github.com/users/Tallyb/gists{/gist_id}","starred_url":"https://api.github.com/users/Tallyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tallyb/subscriptions","organizations_url":"https://api.github.com/users/Tallyb/orgs","repos_url":"https://api.github.com/users/Tallyb/repos","events_url":"https://api.github.com/users/Tallyb/events{/privacy}","received_events_url":"https://api.github.com/users/Tallyb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/labels/external%20issue","name":"external issue","color":"cccccc"},{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-21T16:11:39Z","updated_at":"2016-05-27T07:28:01Z","closed_at":"2016-05-27T07:28:01Z","body":"I am trying to use angular google maps with a webpack project. when trying to load google maps angular fails to load \r\n\r\n     Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:\r\n     Error: [$injector:modulerr] Failed to instantiate module {} due to:\r\n     Error: [ng:areq] Argument 'module' is not a function, got Object\r\n\r\nI have installed via npm `angular-google-maps`\r\n\r\nMy app.js (main file) contains the following code: \r\n\r\n    import angular from 'angular';\r\n    import uiGmapgoogleMaps from 'angular-google-maps';\r\n    import home from './features/home/index';\r\n    import mapping from  './app.maps.config.js';\r\n    angular.module('app', [home,  uiGmapgoogleMaps])\r\n      .config (mapping)  ;\r\n\r\nand my config mapping file contains: \r\n\r\n    export default function mapping(uiGmapGoogleMapApiProvider) {\r\n           uiGmapGoogleMapApiProvider.configure({\r\n               //    key: 'your api key',\r\n               v: '3.20', //defaults to latest 3.X anyhow\r\n               libraries: 'weather,geometry,visualization,drawing'\r\n           });\r\n     };\r\n\r\nAny suggestions? "}}
{"actor":{"display_login":"davidpelayo"}}