{"action":"reopened","issue":{"url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/666","labels_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/666/labels{/name}","comments_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/666/comments","events_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/666/events","html_url":"https://github.com/tombatossals/angular-leaflet-directive/issues/666","id":64973352,"number":666,"title":"leaflet.label compiling only onclick","user":{"login":"lleoooell","id":8329070,"avatar_url":"https://avatars.githubusercontent.com/u/8329070?v=3","gravatar_id":"","url":"https://api.github.com/users/lleoooell","html_url":"https://github.com/lleoooell","followers_url":"https://api.github.com/users/lleoooell/followers","following_url":"https://api.github.com/users/lleoooell/following{/other_user}","gists_url":"https://api.github.com/users/lleoooell/gists{/gist_id}","starred_url":"https://api.github.com/users/lleoooell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lleoooell/subscriptions","organizations_url":"https://api.github.com/users/lleoooell/orgs","repos_url":"https://api.github.com/users/lleoooell/repos","events_url":"https://api.github.com/users/lleoooell/events{/privacy}","received_events_url":"https://api.github.com/users/lleoooell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-28T18:30:36Z","updated_at":"2015-06-26T10:05:24Z","closed_at":null,"body":"Hello,\r\n\r\nFirst, thanks for this awesome directive !\r\n\r\nI'm running something strange and i cannot find a solution.\r\n\r\nI'm running angular-leaflet in a MEAN stack app and everything work perfectly.\r\n\r\nI have 4 markers with option \"getMessageScope: function() {return $scope; },\" to let me use a ng-click directive in popup and its ok. by default, focus is set on false.\r\n\r\nI want also have a leaflet.label with \"nohide:true\" and a custom class on the right of the marker and bind some content in the label. \r\n\r\nProblem is, on page load, my labels are visible but the data content seems to be binded only when i click on the marker... Il i want it to be compiled on page load, i have to set my popup option focus to true. and i don't want that.\r\n\r\nI want my popup hidden by default and my label visible with data binding by deflault...can someone knows how can i solve this ?\r\n\r\n```\r\n m4: {\r\n                        lat: 48.180913,\r\n                        lng: 6.445758,\r\n                         message: '<button style=\"width:100%\" class=\\'btn btn-tech\\' ng-click=\"createAlert(\\'input\\')\">Clic me ! </button>',\r\n\t\t    \t\t\tgetMessageScope: function() {return $scope; },\r\n                        focus: false,\r\n                        icon: local_icons.myicon,\r\n                        label: {\r\n                            message: '<div> <p data-ng-bind=\"array.length\"></p></div>',\r\n                            options: {\r\n                                noHide: true,\r\n                                className : \"customClass\"\r\n                            }\r\n                        }\r\n                    },\r\n```"}}