{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1801","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/1801/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1801/comments","events_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1801/events","html_url":"https://github.com/angular-ui/angular-google-maps/pull/1801","id":146680540,"number":1801,"title":"Inline template in map-control directive - Fix Issue #1590","user":{"login":"mehanika","id":318978,"avatar_url":"https://avatars.githubusercontent.com/u/318978?v=3","gravatar_id":"","url":"https://api.github.com/users/mehanika","html_url":"https://github.com/mehanika","followers_url":"https://api.github.com/users/mehanika/followers","following_url":"https://api.github.com/users/mehanika/following{/other_user}","gists_url":"https://api.github.com/users/mehanika/gists{/gist_id}","starred_url":"https://api.github.com/users/mehanika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehanika/subscriptions","organizations_url":"https://api.github.com/users/mehanika/orgs","repos_url":"https://api.github.com/users/mehanika/repos","events_url":"https://api.github.com/users/mehanika/events{/privacy}","received_events_url":"https://api.github.com/users/mehanika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2016-04-07T16:43:47Z","updated_at":"2016-05-10T18:14:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/pulls/1801","html_url":"https://github.com/angular-ui/angular-google-maps/pull/1801","diff_url":"https://github.com/angular-ui/angular-google-maps/pull/1801.diff","patch_url":"https://github.com/angular-ui/angular-google-maps/pull/1801.patch"},"body":"You will be able to use an inline template as content for the map control. Example:\r\n\r\n```html\r\n<ui-gmap-map-control  position=\"top-right\" index=\"1\">\r\n          <div ng-controller=\"mapWidgetCtrl\">\r\n            <button class=\"btn btn-lg btn-primary\"  ng-click=\"clearWidget.controlClick()\">{{clearWidget.controlText}}</button>\r\n          </div>\r\n</ui-gmap-map-control>\r\n```\r\nAnd also you can still use the attribute `template`. This PR closes the issue #1590 \r\n\r\n**The only thing missing is a PR for updating the documentation**"},"comment":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/comments/218243458","html_url":"https://github.com/angular-ui/angular-google-maps/pull/1801#issuecomment-218243458","issue_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1801","id":218243458,"user":{"login":"mehanika","id":318978,"avatar_url":"https://avatars.githubusercontent.com/u/318978?v=3","gravatar_id":"","url":"https://api.github.com/users/mehanika","html_url":"https://github.com/mehanika","followers_url":"https://api.github.com/users/mehanika/followers","following_url":"https://api.github.com/users/mehanika/following{/other_user}","gists_url":"https://api.github.com/users/mehanika/gists{/gist_id}","starred_url":"https://api.github.com/users/mehanika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehanika/subscriptions","organizations_url":"https://api.github.com/users/mehanika/orgs","repos_url":"https://api.github.com/users/mehanika/repos","events_url":"https://api.github.com/users/mehanika/events{/privacy}","received_events_url":"https://api.github.com/users/mehanika/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T18:14:13Z","updated_at":"2016-05-10T18:14:13Z","body":"@nmccready It's already up to date"}}