{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3180","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3180/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3180/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3180/events","html_url":"https://github.com/angular-ui/bootstrap/issues/3180","id":54113395,"number":3180,"title":"The datepicker doesn't work correctly inside a ng-if directive","user":{"login":"iranreyes","id":5953115,"avatar_url":"https://avatars.githubusercontent.com/u/5953115?v=3","gravatar_id":"","url":"https://api.github.com/users/iranreyes","html_url":"https://github.com/iranreyes","followers_url":"https://api.github.com/users/iranreyes/followers","following_url":"https://api.github.com/users/iranreyes/following{/other_user}","gists_url":"https://api.github.com/users/iranreyes/gists{/gist_id}","starred_url":"https://api.github.com/users/iranreyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iranreyes/subscriptions","organizations_url":"https://api.github.com/users/iranreyes/orgs","repos_url":"https://api.github.com/users/iranreyes/repos","events_url":"https://api.github.com/users/iranreyes/events{/privacy}","received_events_url":"https://api.github.com/users/iranreyes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/component:%20datepicker","name":"component: datepicker","color":"ffffff"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/needs:%20info","name":"needs: info","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-12T22:03:05Z","updated_at":"2015-03-12T18:33:38Z","closed_at":null,"body":"The datepicker shows only one time, and after that it doesn't appear never more, when I change the ng-if by a ng-show this work correctly"},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/78559362","html_url":"https://github.com/angular-ui/bootstrap/issues/3180#issuecomment-78559362","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3180","id":78559362,"user":{"login":"newmanw","id":3382274,"avatar_url":"https://avatars.githubusercontent.com/u/3382274?v=3","gravatar_id":"","url":"https://api.github.com/users/newmanw","html_url":"https://github.com/newmanw","followers_url":"https://api.github.com/users/newmanw/followers","following_url":"https://api.github.com/users/newmanw/following{/other_user}","gists_url":"https://api.github.com/users/newmanw/gists{/gist_id}","starred_url":"https://api.github.com/users/newmanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmanw/subscriptions","organizations_url":"https://api.github.com/users/newmanw/orgs","repos_url":"https://api.github.com/users/newmanw/repos","events_url":"https://api.github.com/users/newmanw/events{/privacy}","received_events_url":"https://api.github.com/users/newmanw/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T18:33:38Z","updated_at":"2015-03-12T18:33:38Z","body":"I am also facing the same issue.  I am determining the template to use dynamically.  I have created a very simple plunk to show (I would have more than just a date type), but I think you get the idea.\r\n\r\nhttp://plnkr.co/edit/remf5q4ltkQzM55553tB?p=preview\r\n\r\nLooks like the scope is getting messed up somewhere.  I.E. I see isOpen change within the datepicker scope, but does not change in my directives scope."}}