{"action":"created","issue":{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/165","labels_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/165/comments","events_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/165/events","html_url":"https://github.com/allenhwkim/angularjs-google-maps/issues/165","id":63868654,"number":165,"title":"Map-lazy-load error","user":{"login":"alextrs","id":6982322,"avatar_url":"https://avatars.githubusercontent.com/u/6982322?v=3","gravatar_id":"","url":"https://api.github.com/users/alextrs","html_url":"https://github.com/alextrs","followers_url":"https://api.github.com/users/alextrs/followers","following_url":"https://api.github.com/users/alextrs/following{/other_user}","gists_url":"https://api.github.com/users/alextrs/gists{/gist_id}","starred_url":"https://api.github.com/users/alextrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextrs/subscriptions","organizations_url":"https://api.github.com/users/alextrs/orgs","repos_url":"https://api.github.com/users/alextrs/repos","events_url":"https://api.github.com/users/alextrs/events{/privacy}","received_events_url":"https://api.github.com/users/alextrs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T00:52:02Z","updated_at":"2015-03-24T15:54:42Z","closed_at":null,"body":"Hello,\r\n\r\nWe use ui-router in our site and need map only on one page. I wrapped map directive with map-lazy-load and now first time I visit the page with map everything works as expected, but every consecutive visit of the same page gives me an error:\r\n> You have included the Google Maps API multiple times on this page. This may cause unexpected errors.\r\n\r\nThis is how I use it:\r\n```javascript\r\n<div class=\"col-sm-6 col-md-4\" ng-if=\"activeLocation\">\r\n   <div map-lazy-load=\"http://maps.google.com/maps/api/js\">\r\n     <map\r\n      ...\r\n    </map>\r\n   </div>\r\n</div>\r\n```"},"comment":{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/comments/85572123","html_url":"https://github.com/allenhwkim/angularjs-google-maps/issues/165#issuecomment-85572123","issue_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/165","id":85572123,"user":{"login":"allenhwkim","id":1437734,"avatar_url":"https://avatars.githubusercontent.com/u/1437734?v=3","gravatar_id":"","url":"https://api.github.com/users/allenhwkim","html_url":"https://github.com/allenhwkim","followers_url":"https://api.github.com/users/allenhwkim/followers","following_url":"https://api.github.com/users/allenhwkim/following{/other_user}","gists_url":"https://api.github.com/users/allenhwkim/gists{/gist_id}","starred_url":"https://api.github.com/users/allenhwkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenhwkim/subscriptions","organizations_url":"https://api.github.com/users/allenhwkim/orgs","repos_url":"https://api.github.com/users/allenhwkim/repos","events_url":"https://api.github.com/users/allenhwkim/events{/privacy}","received_events_url":"https://api.github.com/users/allenhwkim/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T15:54:42Z","updated_at":"2015-03-24T15:54:42Z","body":"I have designed not to load twice if already loaded by checking the script tag. \r\n\r\nBased on your comment, it might be buggy. \r\nCould you make a plnkr for this, so that I can re-generate your bug?"}}