{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1697","labels_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1697/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1697/comments","events_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1697/events","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1697","id":127643763,"number":1697,"title":"Window position with dynamic content is not correct + ng-if does not work in window","user":{"login":"t8g","id":639759,"avatar_url":"https://avatars.githubusercontent.com/u/639759?v=3","gravatar_id":"","url":"https://api.github.com/users/t8g","html_url":"https://github.com/t8g","followers_url":"https://api.github.com/users/t8g/followers","following_url":"https://api.github.com/users/t8g/following{/other_user}","gists_url":"https://api.github.com/users/t8g/gists{/gist_id}","starred_url":"https://api.github.com/users/t8g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t8g/subscriptions","organizations_url":"https://api.github.com/users/t8g/orgs","repos_url":"https://api.github.com/users/t8g/repos","events_url":"https://api.github.com/users/t8g/events{/privacy}","received_events_url":"https://api.github.com/users/t8g/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-20T09:50:36Z","updated_at":"2016-01-20T18:09:44Z","closed_at":null,"body":"I fight with 2 problems on window.\r\n\r\n1. I can't manage to have correct positionned window with dynamic content.\r\n\r\n![mapwindowwithstaticcontent](https://cloud.githubusercontent.com/assets/639759/12445253/87d8ba62-bf63-11e5-9c8c-546c99a07862.png)\r\n\r\n![mapwindowwithdynamiccontent](https://cloud.githubusercontent.com/assets/639759/12445257/8dc30b3a-bf63-11e5-9be6-a8617a4245c7.png)\r\n\r\n2. ng-if (nor ng-show) directive does'nt seems to work inside window\r\n\r\nHere is a plunkr.\r\nhttp://plnkr.co/edit/b2W55hb1GXiAIhP2w1ud?p=preview\r\n\r\nAn idea of what I'm doing wrong ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/comments/173310015","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1697#issuecomment-173310015","issue_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1697","id":173310015,"user":{"login":"david-meza","id":11840636,"avatar_url":"https://avatars.githubusercontent.com/u/11840636?v=3","gravatar_id":"","url":"https://api.github.com/users/david-meza","html_url":"https://github.com/david-meza","followers_url":"https://api.github.com/users/david-meza/followers","following_url":"https://api.github.com/users/david-meza/following{/other_user}","gists_url":"https://api.github.com/users/david-meza/gists{/gist_id}","starred_url":"https://api.github.com/users/david-meza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-meza/subscriptions","organizations_url":"https://api.github.com/users/david-meza/orgs","repos_url":"https://api.github.com/users/david-meza/repos","events_url":"https://api.github.com/users/david-meza/events{/privacy}","received_events_url":"https://api.github.com/users/david-meza/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T18:09:44Z","updated_at":"2016-01-20T18:09:44Z","body":"My mistake, that should be fixed on the Plnker now. You can't replace the whole `$scope.window.templateParameter` object because it disconnects from the scope `$watch`. Change the attributes that are used by the info-window manually. The only issue I've come across doing this is that there's a flicker when the window resizes to the correct width and height, so if you figure out how to fix that let me know."}}