{"action":"opened","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/7165","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/7165/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/7165/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/7165/events","html_url":"https://github.com/driftyco/ionic/issues/7165","id":163500332,"number":7165,"title":"Incorrect documentation Usage examples","user":{"login":"tones411","id":3883729,"avatar_url":"https://avatars.githubusercontent.com/u/3883729?v=3","gravatar_id":"","url":"https://api.github.com/users/tones411","html_url":"https://github.com/tones411","followers_url":"https://api.github.com/users/tones411/followers","following_url":"https://api.github.com/users/tones411/following{/other_user}","gists_url":"https://api.github.com/users/tones411/gists{/gist_id}","starred_url":"https://api.github.com/users/tones411/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tones411/subscriptions","organizations_url":"https://api.github.com/users/tones411/orgs","repos_url":"https://api.github.com/users/tones411/repos","events_url":"https://api.github.com/users/tones411/events{/privacy}","received_events_url":"https://api.github.com/users/tones411/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/modals","name":"modals","color":"fbca04"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/popover","name":"popover","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-02T03:49:56Z","updated_at":"2016-07-02T03:49:56Z","closed_at":null,"body":"#### Short description of the problem:\r\nIncorrect documentation at http://ionicframework.com/docs/v2/api/components/modal/ModalController/\r\nand http://ionicframework.com/docs/v2/api/components/popover/PopoverController/\r\n\r\n#### What behavior are you expecting?\r\nThe Usage example at the URLs above says to include ModalController and present it by calling myModal.present(). However, I found that I had to include Modal instead, and present it by calling this.nav.present(MyController).\r\n\r\nI think the same problems probably exist with the PopoverController documentation in the \"Usage\" example.\r\n\r\n**Which Ionic Version?** 1.x or 2.x\r\n2 beta 10\r\n\r\n\r\n"}}
{"actor":{"display_login":"tones411"}}